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=5003c28946aa1ce28a85779b07beba885286e604;hb=33e557114a2ba28e26e220a833e8a449c78b8b65;hpb=26e2f47b20625f4d31a8a3632720bb312fd98c27 diff --git a/tests/regression/tools/notification/test_notification_ust_capture b/tests/regression/tools/notification/test_notification_ust_capture index 5003c2894..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" @@ -38,3 +36,5 @@ start_lttng_sessiond_notap test_basic_error_path stop_lttng_sessiond_notap + +rm -f "$TESTAPP_STATE_PATH"