Cleanup: tests: name all temporary files to better identify leakage
[lttng-tools.git] / tests / regression / tools / health / test_thread_ok
index 1483fa70afc532e7b27d1c09a40a5509dfce93bf..e84adb611a00f1531310dd623d109cfa3db84bb2 100755 (executable)
@@ -110,10 +110,10 @@ plan_tests $NUM_TESTS
 
 print_test_banner "$TEST_DESC"
 
-STDOUT_PATH=$(mktemp)
-STDERR_PATH=$(mktemp)
-TRACE_PATH=$(mktemp -d)
-HEALTH_PATH=$(mktemp -d)
+STDOUT_PATH=$(mktemp --tmpdir tmp.test_thread_ok_stdout_path.XXXXXX)
+STDERR_PATH=$(mktemp --tmpdir tmp.test_thread_ok_stderr_path.XXXXXX)
+TRACE_PATH=$(mktemp --tmpdir -d tmp.test_thread_ok_trace_path.XXXXXX)
+HEALTH_PATH=$(mktemp --tmpdir -d tmp.test_thread_ok_trace_path.XXXXXX)
 
 # The manage kernel thread is only spawned if we are root
 if [ "$(id -u)" == "0" ]; then
This page took 0.023197 seconds and 4 git commands to generate.