X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_kernel_instrumentation;h=90545a5417a704d5954c4bb9085079c89a16938e;hp=ef4efbce7e94461a35be73720844a074899bdd9e;hb=33e557114a2ba28e26e220a833e8a449c78b8b65;hpb=fc2dd19e2c7dbeaa86654b47c0a2c221b7018ecf diff --git a/tests/regression/tools/notification/test_notification_kernel_instrumentation b/tests/regression/tools/notification/test_notification_kernel_instrumentation index ef4efbce7..90545a541 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 --tmpdir -u "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"