port: add missing attributes in getrandom_nonblock() on macOS
[lttng-tools.git] / tests / regression / tools / live / test_kernel
index 58fe34936d287e46b29fec76594a7944b7b7771b..1be703aacf5d4b2e9a48f789afd5ebfbcdbdd1aa 100755 (executable)
@@ -16,7 +16,7 @@ DELAY_USEC=2000000
 SESSION_NAME="live"
 EVENT_NAME="lttng_test_filter_event"
 
-TRACE_PATH=$(mktemp --tmpdir -d tmp.test_live_kernel_trace_path.XXXXXX)
+TRACE_PATH=$(mktemp -d -t tmp.test_live_kernel_trace_path.XXXXXX)
 
 DIR=$(readlink -f $TESTDIR)
 
@@ -43,7 +43,7 @@ function clean_live_tracing()
 if [ "$(id -u)" == "0" ]; then
        isroot=1
 else
-       echo "Root access is needed. Skipping all tests."
+       plan_skip_all "Root access is needed. Skipping all tests."
        exit 0
 fi
 
This page took 0.023827 seconds and 4 git commands to generate.