X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ftest_event_tracef;h=30922a6cf9ea5a7a921980fc2ed56da20002ebb0;hp=6cd354a98172514839358e04a1daf8d361d2eb94;hb=HEAD;hpb=4d513dce5d26cbc477a00b348beb537d01231cd9 diff --git a/tests/regression/ust/test_event_tracef b/tests/regression/ust/test_event_tracef index 6cd354a98..30922a6cf 100755 --- a/tests/regression/ust/test_event_tracef +++ b/tests/regression/ust/test_event_tracef @@ -1,20 +1,9 @@ #!/bin/bash # -# Copyright (C) - 2013 Christian Babeux -# Copyright (C) - 2014 Mathieu Desnoyers +# Copyright (C) 2013 Christian Babeux +# Copyright (C) 2014 Mathieu Desnoyers # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License, version 2 only, as -# published by the Free Software Foundation. -# -# This program 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 General Public License for -# more details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., 51 -# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# SPDX-License-Identifier: GPL-2.0-only TEST_DESC="UST tracer - tracef events" @@ -56,9 +45,11 @@ plan_tests $NUM_TESTS print_test_banner "$TEST_DESC" +bail_out_if_no_babeltrace + start_lttng_sessiond -TRACE_PATH=$(mktemp -d) +TRACE_PATH=$(mktemp -d -t tmp.test_event_tracef_trace_path.XXXXXX) test_event_tracef out=$? if [ $out -ne 0 ]; then