Clean-up: modernize pretty_xml.cpp
[lttng-tools.git] / tests / perf / test_perf_raw.in
index 0a451ce63500d97a0bd938e3f860973b4fd399ba..00cdebc5567d1cccdc0ee9ddd13022040f382fc2 100644 (file)
@@ -137,12 +137,6 @@ function test_kernel_raw()
        rm -rf $TRACE_PATH
 }
 
-if [ "$(id -u)" == "0" ]; then
-       isroot=1
-else
-       isroot=0
-fi
-
 # MUST set TESTDIR before calling those functions
 plan_tests $NUM_TESTS
 
@@ -154,7 +148,7 @@ have_libpfm
 
 test_ust_raw
 
-skip $isroot "Root access is needed for kernel testing, skipping." 9 ||
+check_skip_kernel_test 9 ||
 {
        modprobe lttng-test
        test_kernel_raw
This page took 0.024857 seconds and 4 git commands to generate.