Fix: tests: wait output hide Terminate errors
[lttng-tools.git] / tests / regression / tools / mi / test_mi
index fa46b514ef90d98dfee68b220be3d9afd81eb4c1..e690822b5661ad3938c3ba43fe6ec3cdbc8fdc07 100755 (executable)
@@ -523,9 +523,8 @@ function test_list_ust_event ()
        test "$num" -eq "12"
        ok $? "Mi test: $num / 12 ust event fields discovered"
 
-       #Wait for last forked process
-       wait $!
-
+       #Wait for all background processes
+       wait
 }
 
 function test_start_stop () {
@@ -603,7 +602,6 @@ function test_start_stop () {
        #Teardown
        OUTPUT_DEST=$DEVNULL
        destroy_lttng_sessions
-
 }
 
 function test_snapshot () {
This page took 0.023876 seconds and 4 git commands to generate.