hush: fix misparsing of "... do eval a= ...". Closes 3721
[oweals/busybox.git] / shell / hush_test / hush-misc / redir1.tests
index 70e9e17f076215326f4d1607884507c6ae04e921..ef2fbfb77b24fe4935c49836805c2dce17556106 100755 (executable)
@@ -27,7 +27,7 @@ var=ok
 { var=bad >shell_test_$$; } &
 # cant use usleep as it isnt standard in $PATH --
 # we fail when testing busybox compiled solely as "hush"
-sleep 1
+wait
 echo "Test 4:  var:$var"
 test -f shell_test_$$ && echo "File created:ok"