X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_ust_capture;h=3546d32ec77f6949fefcccca9e5f8cd9bf39888f;hb=522c987c3a14f1ba921a65788b408656e7417486;hp=5003c28946aa1ce28a85779b07beba885286e604;hpb=26e2f47b20625f4d31a8a3632720bb312fd98c27;p=lttng-tools.git 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"