projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: Add get_possible_cpus_count utility
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_rotation
diff --git
a/tests/regression/tools/notification/test_rotation
b/tests/regression/tools/notification/test_rotation
index 020d7c4891361b7ff420884ad161171a88238a5a..5d6db8f557cde6484685fba5d5f27552d01b1f22 100755
(executable)
--- a/
tests/regression/tools/notification/test_rotation
+++ b/
tests/regression/tools/notification/test_rotation
@@
-12,14
+12,13
@@
TESTAPP_NAME="gen-ust-events"
TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME"
SESSION_NAME="my_session"
TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME"
SESSION_NAME="my_session"
-TMP_DIR=$(mktemp -d)
-SESSION_OUTPUT_PATH=$TMP_DIR/output
+SESSION_OUTPUT_PATH=$(mktemp -d -t tmp.test_notif_rotation_trace_path.XXXXXX)
EVENT_NAME="tp:tptest"
PAGE_SIZE=$(getconf PAGE_SIZE)
SUBBUF_SIZE=$(expr $PAGE_SIZE \* 8)
EVENT_NAME="tp:tptest"
PAGE_SIZE=$(getconf PAGE_SIZE)
SUBBUF_SIZE=$(expr $PAGE_SIZE \* 8)
-FILE_SYNC_AFTER_FIRST_EVENT=$(mktemp -u)
+FILE_SYNC_AFTER_FIRST_EVENT=$(mktemp -u
-t tmp.test_rotation_sync_after_first.XXXXXX
)
NR_ITER=-1
NR_USEC_WAIT=5
NR_ITER=-1
NR_USEC_WAIT=5
@@
-58,5
+57,5
@@
stop_lttng_sessiond_notap
kill -9 $APP_PID
wait $APP_PID 2> /dev/null
kill -9 $APP_PID
wait $APP_PID 2> /dev/null
-rm -rf $
TMP_DIR
-rm
$FILE_SYNC_AFTER_FIRST_EVENT 2> /dev/null
+rm -rf $
SESSION_OUTPUT_PATH
+rm
-f $FILE_SYNC_AFTER_FIRST_EVENT
This page took
0.023195 seconds
and
4
git commands to generate.