X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fsave-load%2Ftest_save;h=73527ec7b8d568ced4dd2323a25ba5db2cf96402;hb=33e557114a2ba28e26e220a833e8a449c78b8b65;hp=467722e43b9e2f81e4329fec0a70d101f033f782;hpb=722f854b138f6c9836bb8f48f0efd64b0f35f5e3;p=lttng-tools.git diff --git a/tests/regression/tools/save-load/test_save b/tests/regression/tools/save-load/test_save index 467722e43..73527ec7b 100755 --- a/tests/regression/tools/save-load/test_save +++ b/tests/regression/tools/save-load/test_save @@ -1,27 +1,13 @@ #!/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)" CURDIR=$(dirname $0)/ TESTDIR=$CURDIR/../../../ -SESSIOND_BIN="lttng-sessiond" -RELAYD_BIN="lttng-relayd" -LTTNG_BIN="lttng" SESSION_NAME="save-42" CHANNEL_NAME="chan-save" @@ -148,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