Cleanup: Fix a typo in the MI tests
[lttng-tools.git] / tests / regression / tools / mi / test_mi
index fa46b514ef90d98dfee68b220be3d9afd81eb4c1..3ee2e74f78a285812f6bc62109b504fdc4e3b391 100755 (executable)
@@ -63,7 +63,7 @@ source $TESTDIR/utils/utils.sh
 #Overwrite the lttng_bin to get mi output
 LTTNG_BIN="lttng --mi xml"
 
-#Global devlaration for simplification
+#Global declaration for simplification
 LTTNG=$TESTDIR/../src/bin/lttng/$LTTNG_BIN
 
 #Overwrite the default output for utils.sh command
@@ -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.024597 seconds and 5 git commands to generate.