projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e883fb
)
fix redir1 tests -- usleep isnt standard in $PATH
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 6 Apr 2009 12:34:27 +0000
(12:34 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 6 Apr 2009 12:34:27 +0000
(12:34 -0000)
shell/hush_test/hush-misc/redir1.tests
patch
|
blob
|
history
diff --git
a/shell/hush_test/hush-misc/redir1.tests
b/shell/hush_test/hush-misc/redir1.tests
index 5f6c20612927101868fb82a16a029d9127b8a556..7e204514c6cb42ac7ea3795b623b2c34c8a3566e 100755
(executable)
--- 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"