diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-07 06:08:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-07 06:08:14 +0000 |
commit | 932e111418b66787c90124ddea3c34632b106e3d (patch) | |
tree | 087ddbeec9451ee2de6e224d7e2052666a36f570 /shell/hush_test | |
parent | b509c9c6708f9f731a5f2c1330b372bb87be96ab (diff) |
use sleep rather than usleep
Diffstat (limited to 'shell/hush_test')
-rwxr-xr-x | shell/hush_test/hush-vars/param_subshell.tests | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/hush_test/hush-vars/param_subshell.tests b/shell/hush_test/hush-vars/param_subshell.tests index 6beaeae66..565a84589 100755 --- a/shell/hush_test/hush-vars/param_subshell.tests +++ b/shell/hush_test/hush-vars/param_subshell.tests @@ -5,9 +5,11 @@ fi echo 1=$1 { echo 2=$2; } { echo 3=$3; } & -usleep 100000 +# cant use usleep as it isnt standard in $PATH -- +# we fail when testing busybox compiled solely as "hush" +sleep 1 ( echo 4=$4 ) ( echo 5=$5 ) & -usleep 100000 +sleep 1 true | echo 6=$6 | cat true | { echo 7=$7; } | cat |