projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/man/Makefile: Mimic mandb(5) path hierarchy
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_notification_ust_buffer_usage
diff --git
a/tests/regression/tools/notification/test_notification_ust_buffer_usage
b/tests/regression/tools/notification/test_notification_ust_buffer_usage
index 4a4c14f3a5f4730aded9385f1e54c7f0ccac50ef..836eceb2e838eba6228ec3a4f48a6373cfb73ed8 100755
(executable)
--- a/
tests/regression/tools/notification/test_notification_ust_buffer_usage
+++ b/
tests/regression/tools/notification/test_notification_ust_buffer_usage
@@
-7,12
+7,15
@@
CURDIR=$(dirname "$0")/
TESTDIR=$CURDIR/../../../
CURDIR=$(dirname "$0")/
TESTDIR=$CURDIR/../../../
-TEST_TMPDIR=$(mktemp --tmpdir -d tmp.test_notif_ust_buffer_usage_dir.XXXXXX)
+TEST_TMPDIR=$(mktemp -d -t tmp.test_notif_ust_buffer_usage_dir.XXXXXX)
+
+# Set TMPDIR for further call to mktemp
+export TMPDIR="$TEST_TMPDIR"
set -x
#This is needed since the testpoint create a pipe with the consumerd type suffixed
TESTPOINT_BASE_PATH=$(readlink -f "$TEST_TMPDIR/lttng.t_p_n")
set -x
#This is needed since the testpoint create a pipe with the consumerd type suffixed
TESTPOINT_BASE_PATH=$(readlink -f "$TEST_TMPDIR/lttng.t_p_n")
-TESTPOINT_PIPE_PATH=$(mktemp -u -
-tmpdir="$TEST_TMPDIR"
"lttng.t_p_n.XXXXXX")
+TESTPOINT_PIPE_PATH=$(mktemp -u -
t
"lttng.t_p_n.XXXXXX")
TESTPOINT=$(readlink -f "${CURDIR}/.libs/libpause_consumer.so")
TESTAPP_PATH="$TESTDIR/utils/testapp"
TESTPOINT=$(readlink -f "${CURDIR}/.libs/libpause_consumer.so")
TESTAPP_PATH="$TESTDIR/utils/testapp"
@@
-20,12
+23,12
@@
TESTAPP_PATH="$TESTDIR/utils/testapp"
GEN_UST_EVENTS_TESTAPP_NAME="gen-ust-events"
GEN_UST_EVENTS_TESTAPP_BIN="$TESTAPP_PATH/$GEN_UST_EVENTS_TESTAPP_NAME/$GEN_UST_EVENTS_TESTAPP_NAME"
GEN_UST_EVENTS_TESTAPP_NAME="gen-ust-events"
GEN_UST_EVENTS_TESTAPP_BIN="$TESTAPP_PATH/$GEN_UST_EVENTS_TESTAPP_NAME/$GEN_UST_EVENTS_TESTAPP_NAME"
-TESTAPP_STATE_PATH=$(mktemp -u -
-tmpdir="$TEST_TMPDIR"
"application_state.XXXXXXXXXX")
+TESTAPP_STATE_PATH=$(mktemp -u -
t
"application_state.XXXXXXXXXX")
SESSION_NAME="my_session"
CHANNEL_NAME="my_channel"
SESSION_NAME="my_session"
CHANNEL_NAME="my_channel"
-TRACE_PATH=$(mktemp -d -
-tmpdir="$TEST_TMPDIR"
"trace_path.XXXXXX")
+TRACE_PATH=$(mktemp -d -
t
"trace_path.XXXXXX")
PAGE_SIZE=$(getconf PAGE_SIZE)
set +x
PAGE_SIZE=$(getconf PAGE_SIZE)
set +x
This page took
0.0236 seconds
and
4
git commands to generate.