From 9052600feb1c759007e64d04c636a1e0686613f5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 6 Apr 2009 12:34:27 +0000 Subject: fix redir1 tests -- usleep isnt standard in $PATH --- shell/hush_test/hush-misc/redir1.tests | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3