X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fpython-logging%2Ftest_python_logging.in;h=5de8dd72f72e489e75f55f0959871b0e5db3ffbd;hp=4d9cbe37646d51fe297e27dc06c5869e4c6f0fd6;hb=33e557114a2ba28e26e220a833e8a449c78b8b65;hpb=fc2dd19e2c7dbeaa86654b47c0a2c221b7018ecf diff --git a/tests/regression/ust/python-logging/test_python_logging.in b/tests/regression/ust/python-logging/test_python_logging.in index 4d9cbe376..5de8dd72f 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 -u) - local go_file=$(mktemp -u) + local ready_file=$(mktemp --tmpdir -u) + local go_file=$(mktemp --tmpdir -u) 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 -t test_list_triggers_python_cli_expected_stdout.XXXXXX) + tmp_expected_stdout=$(mktemp --tmpdir -t test_list_triggers_python_cli_expected_stdout.XXXXXX) diag "Test Python trigger with notify action" @@ -753,7 +753,7 @@ skip $skip_agent "Python agent test skipped." $NUM_TESTS || do for fct_test in ${tests[@]}; do - TRACE_PATH=$(mktemp -d) + TRACE_PATH=$(mktemp --tmpdir -d tmp.test_python_logging_trace_path.XXXXXX) diag "(Python $python_version)" ${fct_test} $python_version