X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_kernel_instrumentation;h=b8f0c7eb8df2e44a8da45c3906d06e4b7efab093;hb=f2b390e97d3b6ec347fe7c4af3b46256716ae054;hp=ef4efbce7e94461a35be73720844a074899bdd9e;hpb=51704c8eb4792d8ff748ffdbc2118471a9a67e6c;p=lttng-tools.git diff --git a/tests/regression/tools/notification/test_notification_kernel_instrumentation b/tests/regression/tools/notification/test_notification_kernel_instrumentation index ef4efbce7..b8f0c7eb8 100755 --- a/tests/regression/tools/notification/test_notification_kernel_instrumentation +++ b/tests/regression/tools/notification/test_notification_kernel_instrumentation @@ -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 -u -t "tmp.test_notif_kernel_instrumentation_application_state.XXXXXXXXXX") NUM_TESTS=13 @@ -48,4 +46,4 @@ else skip 0 "Root access is needed. Skipping all kernel notification tests." $NUM_TESTS fi -rm -rf "$TMPDIR" +rm -f "$TESTAPP_STATE_PATH"