Fix: Tests with racy event validation
[lttng-tools.git] / tests / regression / tools / live / test_ust_tracefile_count
index 464f4aacb69b60fe1879e88c520863c994d7802d..f90cbd1ebd42241c0b4e9426a1345583901bae98 100755 (executable)
@@ -82,11 +82,7 @@ fi
 setup_live_tracing
 
 # Run app in background
-$TESTAPP_BIN $NR_ITER $NR_USEC_WAIT >/dev/null 2>&1 &
-# Wait for app to complete
-while [ -n "$(pidof $TESTAPP_NAME)" ]; do
-       sleep 0.5
-done
+$TESTAPP_BIN $NR_ITER $NR_USEC_WAIT >/dev/null 2>&1
 
 # Start the live test
 $TESTDIR/regression/tools/live/live_test
This page took 0.024212 seconds and 5 git commands to generate.