From: Mike Frysinger Date: Mon, 6 Apr 2009 12:34:27 +0000 (-0000) Subject: fix redir1 tests -- usleep isnt standard in $PATH X-Git-Tag: 1_14_0~85 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9052600feb1c759007e64d04c636a1e0686613f5;p=oweals%2Fbusybox.git fix redir1 tests -- usleep isnt standard in $PATH --- diff --git a/shell/hush_test/hush-misc/redir1.tests b/shell/hush_test/hush-misc/redir1.tests index 5f6c20612..7e204514c 100755 --- a/shell/hush_test/hush-misc/redir1.tests +++ b/shell/hush_test/hush-misc/redir1.tests @@ -19,7 +19,9 @@ test -f shell_test_$$ && echo "File created:ok" rm shell_test_$$ 2>/dev/null var=ok { var=bad >shell_test_$$; } & -usleep 100000 +# cant use usleep as it isnt standard in $PATH -- +# we fail when testing busybox compiled solely as "hush" +sleep 1 echo "Test 4: var:$var" test -f shell_test_$$ && echo "File created:ok"