Import CStringView from the Babeltrace tree
[lttng-tools.git] / tests / regression / ust / rotation-destroy-flush / test_rotation_destroy_flush
index 38165904fc0e1ed432715e1a9fd22e1bcd560d6b..64161768f1e3fe286fc84a1d65577c5a1ce7c7c3 100755 (executable)
@@ -23,11 +23,11 @@ SIZE_LIMIT=$PAGE_SIZE
 NR_ITER=10
 NUM_TESTS=$((15*$NR_ITER))
 
-# Ensure the daemons invoke abort on error.
-export LTTNG_ABORT_ON_ERROR=1
-
 source $TESTDIR/utils/utils.sh
 
+# Ensure the daemons invoke abort on error.
+check_skip_kernel_test || export LTTNG_ABORT_ON_ERROR=1
+
 # MUST set TESTDIR before calling those functions
 function run_app()
 {
@@ -130,7 +130,7 @@ while [ "$i" -lt "$TEST_COUNT" ]; do
 
        trap signal_cleanup SIGTERM SIGINT
 
-       TRACE_PATH=$(mktemp -d)
+       TRACE_PATH=$(mktemp -d -t tmp.test_rotation_destroy_flush.XXXXXX)
 
        # Execute test
        ${TESTS[$i]}
This page took 0.023294 seconds and 4 git commands to generate.