Cleanup: tests: name all temporary files to better identify leakage
[lttng-tools.git] / tests / regression / kernel / test_ns_contexts
index 1a25d8666801d7d7d3fc250e738758da502e2fd5..0c8718d78e400d26cc71f51b5b268016737f4b4e 100755 (executable)
@@ -76,7 +76,7 @@ function test_ns()
        ns_inode=$(stat -c '%i' -L "/proc/$$/ns/$ns")
        ok $? "Get current $ns namespace inode: $ns_inode"
 
-       trace_path=$(mktemp -d)
+       trace_path=$(mktemp --tmpdir -d tmp.{FUNCNAME[0]}_trace_path.XXXXXX)
 
        start_lttng_sessiond
 
This page took 0.022816 seconds and 4 git commands to generate.