From: Jérémie Galarneau Date: Fri, 10 Dec 2021 19:10:13 +0000 (-0500) Subject: Tests: live kernel: no plan printed when non-root X-Git-Tag: v2.12.7~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c1c2a6a67147c81eadc7a9cf241e99d38b7cf1f9;p=lttng-tools.git Tests: live kernel: no plan printed when non-root The live kernel test does not produce a valid TAP output when skipping due to not running the test as root. Signed-off-by: Jérémie Galarneau Change-Id: I4a10de494260084216ddb1b8f4ee27a546c4d8ed --- diff --git a/tests/regression/tools/live/test_kernel b/tests/regression/tools/live/test_kernel index 25cb0eda1..f621e750d 100755 --- a/tests/regression/tools/live/test_kernel +++ b/tests/regression/tools/live/test_kernel @@ -43,7 +43,7 @@ function clean_live_tracing() if [ "$(id -u)" == "0" ]; then isroot=1 else - echo "Root access is needed. Skipping all tests." + plan_skip_all "Root access is needed. Skipping all tests." exit 0 fi