hush: fix segfault in ${?:N:M}
[oweals/busybox.git] / shell / hush_test / hush-vars / param_subshell.tests
index 565a84589c47f61e15fc2afdc28d4a7f17d938c2..27fdc5b9b873146f8c3b163343b0cbdc601c5ffc 100755 (executable)
@@ -7,9 +7,9 @@ echo 1=$1
 { echo 3=$3; } &
 # cant use usleep as it isnt standard in $PATH --
 # we fail when testing busybox compiled solely as "hush"
-sleep 1
+wait
 ( echo 4=$4 )
 ( echo 5=$5 ) &
-sleep 1
+wait
 true | echo 6=$6 | cat
 true | { echo 7=$7; } | cat