X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fnamespaces%2Ftest_ns_contexts_change;h=78fc37b5d1973b14a8d969fcbb2326f4fa256798;hp=c0af15e95da10c34c05ed368397ca912d210a326;hb=c125de8f5c0dc9ba3ada63e9317e468ffb9e335a;hpb=33e557114a2ba28e26e220a833e8a449c78b8b65 diff --git a/tests/regression/ust/namespaces/test_ns_contexts_change b/tests/regression/ust/namespaces/test_ns_contexts_change index c0af15e95..78fc37b5d 100755 --- a/tests/regression/ust/namespaces/test_ns_contexts_change +++ b/tests/regression/ust/namespaces/test_ns_contexts_change @@ -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