X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fsave-load%2Ftest_save;h=73527ec7b8d568ced4dd2323a25ba5db2cf96402;hb=6f7eb8e1cb829926bcbce2aeb885b0db63fc7af0;hp=c5f6b1341c4afeb7b019919e732809ed4bb0d727;hpb=4d513dce5d26cbc477a00b348beb537d01231cd9;p=lttng-tools.git diff --git a/tests/regression/tools/save-load/test_save b/tests/regression/tools/save-load/test_save index c5f6b1341..73527ec7b 100755 --- a/tests/regression/tools/save-load/test_save +++ b/tests/regression/tools/save-load/test_save @@ -1,19 +1,8 @@ #!/bin/bash # -# Copyright (C) - 2014 David Goulet +# Copyright (C) 2014 David Goulet # -# This library is free software; you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by the Free -# Software Foundation; version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more -# details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# SPDX-License-Identifier: LGPL-2.1-only TEST_DESC="Save session(s)" @@ -145,7 +134,7 @@ TESTS=( for fct_test in ${TESTS[@]}; do - TRACE_PATH=$(mktemp -d) + TRACE_PATH=$(mktemp --tmpdir -d tmp.test_save_trace_path.XXXXXX) ${fct_test} if [ $? -ne 0 ]; then