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.13.2~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e2df7e95a7fc17481c42537d28ade9e1873d5c37;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