X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_kernel_userspace_probe;h=8ef8d708d282c10260773c3a05f3a0179c8aff68;hb=7539dcec4401832f0557f85daf6c8564615170f6;hp=fba14062fa61e7ae39430020d5736ef9047f3e62;hpb=8ed7657397c11d728beeb044d377f9f0d8fd5159;p=lttng-tools.git diff --git a/tests/regression/tools/notification/test_notification_kernel_userspace_probe b/tests/regression/tools/notification/test_notification_kernel_userspace_probe index fba14062f..8ef8d708d 100755 --- a/tests/regression/tools/notification/test_notification_kernel_userspace_probe +++ b/tests/regression/tools/notification/test_notification_kernel_userspace_probe @@ -7,9 +7,7 @@ CURDIR=$(dirname "$0")/ TESTDIR=$CURDIR/../../../ -TMPDIR=$(mktemp -d) - -TESTAPP_STATE_PATH=$(mktemp -u "$TMPDIR/application_state.XXXXXXXXXX") +TESTAPP_STATE_PATH=$(mktemp --tmpdir -u "tmp.test_notif_kernel_uprobe_application_state.XXXXXXXXXX") NUM_TESTS=13 @@ -45,5 +43,4 @@ else skip 0 "Root access is needed. Skipping all kernel notification tests." $NUM_TESTS fi -# Just in case cleanup -rm -rf "$TMPDIR" +rm -f "$TESTAPP_STATE_PATH"