X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fpython-logging%2Ftest_python_logging.in;h=0bb7ef24d82989e77ed71b945c3fcf6dcd6fa6ab;hb=8d5a3312b34841f1ecba2605acad3eaca79fd5e4;hp=470452260eb49132258425ab7a914e62bbe6f58f;hpb=5219e670edb63d5a4b34e095475045e6540f461b;p=lttng-tools.git diff --git a/tests/regression/ust/python-logging/test_python_logging.in b/tests/regression/ust/python-logging/test_python_logging.in index 470452260..0bb7ef24d 100755 --- a/tests/regression/ust/python-logging/test_python_logging.in +++ b/tests/regression/ust/python-logging/test_python_logging.in @@ -106,8 +106,8 @@ function enable_python_filter_loglevel_only() function test_python_before_start () { - local ready_file=$(mktemp --tmpdir -u) - local go_file=$(mktemp --tmpdir -u) + local ready_file=$(mktemp -u -t) + local go_file=$(mktemp -u -t) diag "Test Python application BEFORE tracing starts" create_lttng_session_ok $SESSION_NAME $TRACE_PATH @@ -688,7 +688,7 @@ function test_python_filter_loglevel() function test_python_trigger_notify_action { uid=$(id --user) - tmp_expected_stdout=$(mktemp --tmpdir -t test_list_triggers_python_cli_expected_stdout.XXXXXX) + tmp_expected_stdout=$(mktemp -t test_list_triggers_python_cli_expected_stdout.XXXXXX) diag "Test Python trigger with notify action" @@ -754,7 +754,7 @@ skip $skip_agent "Python agent test skipped." $NUM_TESTS || do for fct_test in ${tests[@]}; do - TRACE_PATH=$(mktemp --tmpdir -d tmp.test_python_logging_trace_path.XXXXXX) + TRACE_PATH=$(mktemp -d -t tmp.test_python_logging_trace_path.XXXXXX) diag "(Python $python_version)" ${fct_test} $python_version