X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Ftools%2Fhealth%2Frunall;h=65a8ad159bd105719e43b765c372949e0a11e1d5;hp=c22e3539cfa64ba9dd522872eafb3e749c7ccc02;hb=8c861e6c62f1b2723876d110b8943b95ffc82d6a;hpb=55009a2289249d5d784c528234b0fbcd532f5551 diff --git a/tests/tools/health/runall b/tests/tools/health/runall index c22e3539c..65a8ad159 100755 --- a/tests/tools/health/runall +++ b/tests/tools/health/runall @@ -23,6 +23,11 @@ function start_tests () done } +if [ "$(id -u)" != "0" ]; then + echo -e "Need root for health test." + exit 0 +fi + start_tests exit $exit_code