port: add support for BSD mktemp
[lttng-tools.git] / tests / regression / tools / channel / test_channel
index 7244ac3c7d5f7e558dae133e21aae4cac5ded596..a530b649dcaa55ce25fb88703df80e3ecfef9a70 100755 (executable)
@@ -19,7 +19,7 @@ source $TESTDIR/utils/utils.sh
 
 function test_channel_disable_stopped_session()
 {
-       local TRACE_PATH=$(mktemp --tmpdir -d "tmp.${FUNCNAME[0]}_trace_path.XXXXXX")
+       local TRACE_PATH=$(mktemp -d -t "tmp.${FUNCNAME[0]}_trace_path.XXXXXX")
        local SESSION_NAME="test_channel"
        local CHAN_NAME="channel0"
        local EVENT_NAME="tp:tptest"
This page took 0.023082 seconds and 4 git commands to generate.