Signed-off-by: David Goulet <dgoulet@efficios.com>
./$CURDIR/$TEST_BIN_NAME 1000 >/dev/null 2>&1 &
done
./$CURDIR/$TEST_BIN_NAME 1000 >/dev/null 2>&1 &
done
-echo -n "Validating registered apps: "
+echo -n "Validating registered apps in 3 seconds..."
+
+sleep 3
listing=$($TESTDIR/../src/bin/lttng/$LTTNG_BIN list -u)
reg_app_count=$(echo -n $listing | sed "s/$TEST_BIN_NAME/$TEST_BIN_NAME\n/g" | grep "$TEST_BIN_NAME" | wc -l)
listing=$($TESTDIR/../src/bin/lttng/$LTTNG_BIN list -u)
reg_app_count=$(echo -n $listing | sed "s/$TEST_BIN_NAME/$TEST_BIN_NAME\n/g" | grep "$TEST_BIN_NAME" | wc -l)