Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / namespaces / test_ns_contexts_change
index c0af15e95da10c34c05ed368397ca912d210a326..78fc37b5d1973b14a8d969fcbb2326f4fa256798 100755 (executable)
@@ -79,6 +79,9 @@ function test_ns()
 
        touch "$file_sync_before_last"
 
+       # Wait for the test app to generate all expected events and exit.
+       wait $app_pid
+
        # stop and destroy
        stop_lttng_tracing_ok "$session_name"
        destroy_lttng_session_ok "$session_name"
@@ -98,6 +101,8 @@ plan_tests $NUM_TESTS
 
 print_test_banner "$TEST_DESC"
 
+bail_out_if_no_babeltrace
+
 isroot=0
 if [ "$(id -u)" == "0" ]; then
        isroot=1
This page took 0.023193 seconds and 4 git commands to generate.