mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
fix redir1 tests -- usleep isnt standard in $PATH
This commit is contained in:
parent
5e883fb00d
commit
9052600feb
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user