X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fmulti-lib%2Ftest_multi_lib;h=94caee5dba02b78519e5aea1663822b39a802602;hp=d66230ac89427893b52413382f5b3190f4e3cc33;hb=c125de8f5c0dc9ba3ada63e9317e468ffb9e335a;hpb=3f7f208a0150d93363cbf7755e890a9839114ab5 diff --git a/tests/regression/ust/multi-lib/test_multi_lib b/tests/regression/ust/multi-lib/test_multi_lib index d66230ac8..94caee5db 100755 --- a/tests/regression/ust/multi-lib/test_multi_lib +++ b/tests/regression/ust/multi-lib/test_multi_lib @@ -1,19 +1,8 @@ #!/bin/bash # -# Copyright (C) - 2018 Francis Deslauriers +# Copyright (C) 2018 Francis Deslauriers # -# 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="UST - Dynamic loading and unloading of libraries" @@ -228,6 +217,8 @@ plan_tests $NUM_TESTS print_test_banner "$TEST_DESC" +bail_out_if_no_babeltrace + TESTS=( "test_dlopen_same_provider_name_same_event" "test_dlopen_same_provider_name_different_event" @@ -245,7 +236,7 @@ start_lttng_sessiond while [ "$i" -lt "$TEST_COUNT" ]; do - TRACE_PATH=$(mktemp -d) + TRACE_PATH=$(mktemp --tmpdir -d tmp.test_multi_lib_ust_trace_path.XXXXXX) create_lttng_session_ok $SESSION_NAME $TRACE_PATH