X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftools%2Fhealth%2Frunall;fp=tests%2Ftools%2Fhealth%2Frunall;h=0000000000000000000000000000000000000000;hb=9ac429ef32142eaecfec2d1a44569464c4f8f721;hp=d1c8b34468b11a2d87d15a76d02839802622cdb7;hpb=785d2d0dc3aec3a4e44fcf677155dd07e8e4cc1f;p=lttng-tools.git diff --git a/tests/tools/health/runall b/tests/tools/health/runall deleted file mode 100755 index d1c8b3446..000000000 --- a/tests/tools/health/runall +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -DIR=$(dirname $0) - -tests=( $DIR/health_thread_exit $DIR/health_thread_stall $DIR/health_tp_fail) -exit_code=0 - -function start_tests () -{ - for bin in ${tests[@]}; - do - if [ ! -e $bin ]; then - echo -e "$bin not found, passing" - continue - fi - - ./$bin - # Test must return 0 to pass. - if [ $? -ne 0 ]; then - exit_code=1 - break - fi - done -} - -if [ "$(id -u)" != "0" ]; then - echo -e "Need root for health test." - exit 0 -fi - -start_tests - -exit $exit_code