use sleep rather than usleep
authorMike Frysinger <vapier@gentoo.org>
Tue, 7 Apr 2009 06:08:14 +0000 (06:08 -0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 7 Apr 2009 06:08:14 +0000 (06:08 -0000)
shell/hush_test/hush-vars/param_subshell.tests

index 6beaeae66374a4cde04bd1ca6b24d47754fd2029..565a84589c47f61e15fc2afdc28d4a7f17d938c2 100755 (executable)
@@ -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