projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: add support for BSD mktemp
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_notification_kernel_userspace_probe
diff --git
a/tests/regression/tools/notification/test_notification_kernel_userspace_probe
b/tests/regression/tools/notification/test_notification_kernel_userspace_probe
index fba14062fa61e7ae39430020d5736ef9047f3e62..065e66add8523224f7ce4cc54166cb60a62b6ce0 100755
(executable)
--- 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/../../../
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_uprobe_application_state.XXXXXXXXXX")
NUM_TESTS=13
NUM_TESTS=13
@@
-45,5
+43,4
@@
else
skip 0 "Root access is needed. Skipping all kernel notification tests." $NUM_TESTS
fi
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"
This page took
0.022865 seconds
and
4
git commands to generate.