Cleanup: tests: name all temporary files to better identify leakage
[lttng-tools.git] / tests / regression / tools / health / test_health.sh
index c59bab78239f2833c9887e741be7840099d4328f..b3d6419d252cbb88bcebc38e58206d98905cfaf9 100644 (file)
@@ -271,10 +271,10 @@ TEST_RELAYD=(
        1
 )
 
-STDOUT_PATH=$(mktemp)
-STDERR_PATH=$(mktemp)
-TRACE_PATH=$(mktemp -d)
-HEALTH_PATH=$(mktemp -d)
+STDOUT_PATH=$(mktemp --tmpdir tmp.test_health_stdout_path.XXXXXX)
+STDERR_PATH=$(mktemp --tmpdir tmp.test_health_stderr_path.XXXXXX)
+TRACE_PATH=$(mktemp --tmpdir -d tmp.test_health_trace_path.XXXXXX)
+HEALTH_PATH=$(mktemp --tmpdir -d tmp.test_health_trace_path.XXXXXX)
 
 if [ "$(id -u)" == "0" ]; then
        isroot=1
This page took 0.023072 seconds and 4 git commands to generate.