Fix: syscall event rule: emission sites not compared in is_equal
[lttng-tools.git] / tests / regression / kernel / test_ns_contexts
index 7d447bc40859d424ac82d77fbc5cbc3a94471733..1c71ea503e998f26f2519675bfb4e32c3ef986fb 100755 (executable)
@@ -108,13 +108,7 @@ plan_tests $NUM_TESTS
 print_test_banner "$TEST_DESC"
 
 
-isroot=0
-if [ "$(id -u)" == "0" ]; then
-       isroot=1
-fi
-
-skip $isroot "Root access is needed. Skipping all tests." "$NUM_TESTS" && exit 0
-
+check_skip_kernel_test "$NUM_TESTS" "Skipping all tests." && exit 0
 
 system_has_ns=0
 if [ -d "/proc/$$/ns" ]; then
This page took 0.0236 seconds and 4 git commands to generate.