port: add support for BSD mktemp
[lttng-tools.git] / tests / regression / kernel / test_ns_contexts
index 0c8718d78e400d26cc71f51b5b268016737f4b4e..98b673c98e94c2f31b1ef3bd446fe9c370e4a2f5 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 --tmpdir -d tmp.{FUNCNAME[0]}_trace_path.XXXXXX)
+       trace_path=$(mktemp -d -t tmp.{FUNCNAME[0]}_trace_path.XXXXXX)
 
        start_lttng_sessiond
 
This page took 0.023583 seconds and 4 git commands to generate.