X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fstreaming%2Ftest_high_throughput_limits;h=91ab2fe7b25e945d77eb4f6ba725a03eeea55aa4;hb=3a1744008331a0604479d3d7461f77056fad3a64;hp=50c21df4d14cfcdcc8bb62d130dd3eae1bef5e71;hpb=f2b390e97d3b6ec347fe7c4af3b46256716ae054;p=lttng-tools.git diff --git a/tests/regression/tools/streaming/test_high_throughput_limits b/tests/regression/tools/streaming/test_high_throughput_limits index 50c21df4d..91ab2fe7b 100755 --- a/tests/regression/tools/streaming/test_high_throughput_limits +++ b/tests/regression/tools/streaming/test_high_throughput_limits @@ -174,13 +174,7 @@ print_test_banner "$TEST_DESC" bail_out_if_no_babeltrace -if [ "$(id -u)" == "0" ]; then - isroot=1 -else - isroot=0 -fi - -skip $isroot "Root access is needed to set bandwith limits. Skipping all tests." $NUM_TESTS || +check_skip_kernel_test "$NUM_TESTS" "Skipping all tests." || { # Catch sigint and try to cleanup limits