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
/
save-load
/
test_load
diff --git
a/tests/regression/tools/save-load/test_load
b/tests/regression/tools/save-load/test_load
index cbdf96f6ebeded149cdb0ad9e7816d0aeb80f0e2..f149acd08e6c17bb430a988dd403fe95d6726165 100755
(executable)
--- a/
tests/regression/tools/save-load/test_load
+++ b/
tests/regression/tools/save-load/test_load
@@
-58,7
+58,7
@@
function test_complex_load()
disable_ust_lttng_channel $sess chan3
# Confirm that an event stored as disabled is restored in its disabled state
disable_ust_lttng_channel $sess chan3
# Confirm that an event stored as disabled is restored in its disabled state
- local mi_output_file=$(mktemp -
-tmpdir
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
+ local mi_output_file=$(mktemp -
t
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
if [ $? -ne 0 ]; then
break;
fi
if [ $? -ne 0 ]; then
break;
fi
@@
-127,7
+127,7
@@
function test_trackers()
lttng_load_ok "-i $CURDIR/$SESSION_NAME-trackers.lttng"
diag "Test pid tracker"
lttng_load_ok "-i $CURDIR/$SESSION_NAME-trackers.lttng"
diag "Test pid tracker"
- local mi_output_file=$(mktemp -
-tmpdir
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
+ local mi_output_file=$(mktemp -
t
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
if [ $? -ne 0 ]; then
break;
fi
if [ $? -ne 0 ]; then
break;
fi
@@
-176,7
+176,7
@@
function test_override_url_normal()
start_lttng_relayd "-C tcp://127.0.0.1:8172 -D tcp://127.0.0.1:9817"
start_lttng_relayd "-C tcp://127.0.0.1:8172 -D tcp://127.0.0.1:9817"
- local mi_output_file=$(mktemp -
-tmpdir
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
+ local mi_output_file=$(mktemp -
t
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
if [ $? -ne 0 ]; then
break;
fi
if [ $? -ne 0 ]; then
break;
fi
@@
-226,7
+226,7
@@
function test_override_url_snapshot()
start_lttng_relayd "-C tcp://127.0.0.1:8172 -D tcp://127.0.0.1:9817"
start_lttng_relayd "-C tcp://127.0.0.1:8172 -D tcp://127.0.0.1:9817"
- local mi_output_file=$(mktemp -
-tmpdir
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
+ local mi_output_file=$(mktemp -
t
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
if [ $? -ne 0 ]; then
break;
fi
if [ $? -ne 0 ]; then
break;
fi
@@
-280,7
+280,7
@@
function test_override_url_live()
start_lttng_relayd "-C tcp://127.0.0.1:8172 -D tcp://127.0.0.1:9817"
start_lttng_relayd "-C tcp://127.0.0.1:8172 -D tcp://127.0.0.1:9817"
- local mi_output_file=$(mktemp -
-tmpdir
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
+ local mi_output_file=$(mktemp -
t
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
if [ $? -ne 0 ]; then
break;
fi
if [ $? -ne 0 ]; then
break;
fi
@@
-316,7
+316,7
@@
function test_override_session_name()
local override_name="PinkyAndTheBrain"
local output_path="/tmp/lttng/load-42-1"
local override_name="PinkyAndTheBrain"
local output_path="/tmp/lttng/load-42-1"
- local mi_output_file=$(mktemp -
-tmpdir
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
+ local mi_output_file=$(mktemp -
t
"tmp.${FUNCNAME[0]}_output_file.XXXXXX")
if [ $? -ne 0 ]; then
break;
fi
if [ $? -ne 0 ]; then
break;
fi
@@
-362,7
+362,7
@@
TESTS=(
for fct_test in ${TESTS[@]};
do
for fct_test in ${TESTS[@]};
do
- TRACE_PATH=$(mktemp -
-tmpdir -d
tmp.test_load_trace_path.XXXXXX)
+ TRACE_PATH=$(mktemp -
d -t
tmp.test_load_trace_path.XXXXXX)
${fct_test}
if [ $? -ne 0 ]; then
${fct_test}
if [ $? -ne 0 ]; then
This page took
0.028403 seconds
and
4
git commands to generate.