X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fsave-load%2Ftest_load;h=3cf0cc50126146c858f4cd80fb4f8a11ce3267a0;hb=33e557114a2ba28e26e220a833e8a449c78b8b65;hp=4f18dec2d8a052342dd3e45619bac2178b0df84f;hpb=fc2dd19e2c7dbeaa86654b47c0a2c221b7018ecf;p=lttng-tools.git diff --git a/tests/regression/tools/save-load/test_load b/tests/regression/tools/save-load/test_load index 4f18dec2d..3cf0cc501 100755 --- 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 - local mi_output_file=$(mktemp) + local mi_output_file=$(mktemp --tmpdir "tmp.${FUNCNAME[0]}_output_file.XXXXXX") 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" - local mi_output_file=$(mktemp) + local mi_output_file=$(mktemp --tmpdir "tmp.${FUNCNAME[0]}_output_file.XXXXXX") 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" - local mi_output_file=$(mktemp) + local mi_output_file=$(mktemp --tmpdir "tmp.${FUNCNAME[0]}_output_file.XXXXXX") 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" - local mi_output_file=$(mktemp) + local mi_output_file=$(mktemp --tmpdir "tmp.${FUNCNAME[0]}_output_file.XXXXXX") 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" - local mi_output_file=$(mktemp) + local mi_output_file=$(mktemp --tmpdir "tmp.${FUNCNAME[0]}_output_file.XXXXXX") 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 mi_output_file=$(mktemp) + local mi_output_file=$(mktemp --tmpdir "tmp.${FUNCNAME[0]}_output_file.XXXXXX") if [ $? -ne 0 ]; then break; fi @@ -362,7 +362,7 @@ TESTS=( for fct_test in ${TESTS[@]}; do - TRACE_PATH=$(mktemp -d) + TRACE_PATH=$(mktemp --tmpdir -d tmp.test_load_trace_path.XXXXXX) ${fct_test} if [ $? -ne 0 ]; then