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-Url: https://git.lttng.org./?a=commitdiff_plain;h=f7e2e59186322981e1b5b97273d82e33e2c66076;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 58fe34936..b622b5214 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