X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_multi_app;h=a7156c4fea1dd31a95694476d5a86eac67fb046d;hb=3a1744008331a0604479d3d7461f77056fad3a64;hp=85d8638040458e14beb19e82ba76a9a1bdc141d7;hpb=f2b390e97d3b6ec347fe7c4af3b46256716ae054;p=lttng-tools.git diff --git a/tests/regression/tools/notification/test_notification_multi_app b/tests/regression/tools/notification/test_notification_multi_app index 85d863804..a7156c4fe 100755 --- a/tests/regression/tools/notification/test_notification_multi_app +++ b/tests/regression/tools/notification/test_notification_multi_app @@ -411,22 +411,18 @@ function test_on_register_evaluation () rm -rf "$output_dir" } - TESTS=( test_multi_app_ust test_on_register_evaluation_ust ) -if [ "$(id -u)" == "0" ]; then +check_skip_kernel_test "$NUM_TEST_KERNEL" "Skipping kernel multi-app notification tests." || { validate_lttng_modules_present TESTS+=( - test_multi_app_kernel - test_on_register_evaluation_kernel -) -else - skip 0 "Root access is needed. Skipping all kernel multi-app notification tests." $NUM_TEST_KERNEL -fi - + test_multi_app_kernel + test_on_register_evaluation_kernel + ) +} for fct_test in ${TESTS[@]}; do