X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ffiltering%2Ftest_valid_filter;h=4d8d2afff5c1d7b1ab69b9089e8c3b5b81324dd5;hp=a62cc1ef289447c5c9d7635a4173fb0b8b2b13b8;hb=d7ee608c00feacea3cfd5a740df64e5215347cb9;hpb=e29a35e2caddb9bcb6b9e70ef5bd91ae252e7a88 diff --git a/tests/regression/tools/filtering/test_valid_filter b/tests/regression/tools/filtering/test_valid_filter index a62cc1ef2..4d8d2afff 100755 --- a/tests/regression/tools/filtering/test_valid_filter +++ b/tests/regression/tools/filtering/test_valid_filter @@ -25,7 +25,7 @@ STATS_BIN="$TESTDIR/utils/babelstats.pl" SESSION_NAME="valid_filter" EVENT_NAME="tp:tptest" NR_ITER=100 -NUM_TESTS=338 +NUM_TESTS=290 source $TESTDIR/utils/utils.sh @@ -46,15 +46,7 @@ function enable_ust_lttng_event_filter() function run_apps { - ./$CURDIR/$BIN_NAME $NR_ITER & >/dev/null 2>&1 -} - -function wait_apps -{ - while [ -n "$(pidof $BIN_NAME)" ]; do - sleep 1 - done - pass "Wait for application end" + ./$CURDIR/$BIN_NAME $NR_ITER >/dev/null 2>&1 } function test_valid_filter @@ -75,7 +67,6 @@ function test_valid_filter # Trace apps start_lttng_tracing $SESSION_NAME run_apps - wait_apps stop_lttng_tracing $SESSION_NAME # Destroy session