X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_ust_capture;h=3546d32ec77f6949fefcccca9e5f8cd9bf39888f;hp=820116ac1377aa5aae9c36bcaf7f972053e4b1db;hb=33e557114a2ba28e26e220a833e8a449c78b8b65;hpb=fc2dd19e2c7dbeaa86654b47c0a2c221b7018ecf diff --git a/tests/regression/tools/notification/test_notification_ust_capture b/tests/regression/tools/notification/test_notification_ust_capture index 820116ac1..3546d32ec 100755 --- a/tests/regression/tools/notification/test_notification_ust_capture +++ b/tests/regression/tools/notification/test_notification_ust_capture @@ -7,14 +7,12 @@ CURDIR=$(dirname "$0")/ TESTDIR=$CURDIR/../../../ -TMPDIR=$(mktemp -d) - TESTAPP_PATH="$TESTDIR/utils/testapp" GEN_UST_EVENTS_TESTAPP_NAME="gen-ust-events" GEN_UST_EVENTS_TESTAPP_BIN="$TESTAPP_PATH/$GEN_UST_EVENTS_TESTAPP_NAME/$GEN_UST_EVENTS_TESTAPP_NAME" -TESTAPP_STATE_PATH=$(mktemp -u "$TMPDIR/application_state.XXXXXXXXXX") +TESTAPP_STATE_PATH=$(mktemp --tmpdir -u "tmp.test_notif_ust_capture_application_state.XXXXXX") # shellcheck source=../../../utils/utils.sh source "$TESTDIR/utils/utils.sh" @@ -39,4 +37,4 @@ test_basic_error_path stop_lttng_sessiond_notap -rm -rf "$TMPDIR" +rm -f "$TESTAPP_STATE_PATH"