X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Flttng%2Frun-ust-global-tests.sh;fp=tests%2Flttng%2Frun-ust-global-tests.sh;h=0000000000000000000000000000000000000000;hp=a99ff43b307b3be917f132d81eae62f571ebea82;hb=355f483d1713d1e047ad6256bea039cb693ae38e;hpb=0e4cbe7e2c4c6a8343e710a3b050af8c33f95e21 diff --git a/tests/lttng/run-ust-global-tests.sh b/tests/lttng/run-ust-global-tests.sh deleted file mode 100755 index a99ff43b3..000000000 --- a/tests/lttng/run-ust-global-tests.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -SESSIOND_BIN="lttng-sessiond" -TESTDIR=$(dirname $0)/.. - -source $TESTDIR/utils.sh - -tmpdir=`mktemp -d` -tests=( ust_global_event_basic ust_global_all_events_basic ) -exit_code=0 - -function start_tests () -{ - for bin in ${tests[@]}; - do - if [ ! -e $bin ]; then - echo -e "$bin not found, passing" - continue - fi - - ./$bin $tmpdir - # Test must return 0 to pass. - if [ $? -ne 0 ]; then - exit_code=1 - break - fi - done - - # Cleaning up - rm -rf $tmpdir -} - -echo -e "\n-------------------------------------------" -echo -e "UST tracer - Global domain (LTTNG_DOMAIN_UST)" -echo -e "---------------------------------------------" - -PID_SESSIOND=`pidof lt-$SESSIOND_BIN` - -# Simply wait for the session daemon bootstrap -sleep 1 - -start_tests - -exit $exit_code