bail_out_if_no_babeltrace
-if [ "$(id -u)" == "0" ]; then
- isroot=1
-else
- isroot=0
-fi
-
streaming_tests=(test_kernel_streaming
test_kernel_streaming_rotate_clear
test_kernel_streaming_clear_rotate
test_kernel_local_snapshot
)
-skip $isroot "Root access is needed. Skipping all kernel streaming tests." $NUM_TESTS ||
+check_skip_kernel_test "$NUM_TESTS" "Skipping kernel streaming tests." ||
{
trap signal_cleanup SIGTERM SIGINT