diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-06 12:34:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-06 12:34:27 +0000 |
commit | 9052600feb1c759007e64d04c636a1e0686613f5 (patch) | |
tree | 79eb42cbccee130a2933141adc6ea818aebf9a84 /shell/hush_test/hush-misc | |
parent | 5e883fb00d50308779570392b1342ac1b6505f56 (diff) |
fix redir1 tests -- usleep isnt standard in $PATH
Diffstat (limited to 'shell/hush_test/hush-misc')
-rwxr-xr-x | shell/hush_test/hush-misc/redir1.tests | 4 |
1 files changed, 3 insertions, 1 deletions
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" |