Cleanup: tests: name all temporary files to better identify leakage
[lttng-tools.git] / tests / regression / ust / test_event_perf
index 19c7ac7a484f4c07b3120b42adcc8d3c4322ada9..33aab2981272beb8e9695f77c568660aa29aa1e9 100755 (executable)
@@ -56,7 +56,7 @@ function add_context_ust_skip_ok()
 # Only test parsing of the enabling by raw ID
 function test_parsing_raw()
 {
-       TRACE_PATH=$(mktemp -d)
+       TRACE_PATH=$(mktemp --tmpdir -d "tmp.${FUNCNAME[0]}_trace_path.XXXXXX")
        SESSION_NAME="ust_event_basic"
        CHAN_NAME="mychan"
 
@@ -84,7 +84,7 @@ function test_parsing_raw()
 
 function test_event_basic()
 {
-       TRACE_PATH=$(mktemp -d)
+       TRACE_PATH=$(mktemp --tmpdir -d "tmp.${FUNCNAME[0]}_trace_path.XXXXXX")
        SESSION_NAME="ust_event_basic"
        CHAN_NAME="mychan"
 
This page took 0.02304 seconds and 4 git commands to generate.