blob: 27fdc5b9b873146f8c3b163343b0cbdc601c5ffc [file] [log] [blame]
Denis Vlasenko30db43b2009-04-05 02:10:39 +00001if test $# = 0; then
2 "$THIS_SH" "$0" 1 2 3 4 5 6 7 8 9
3 exit
4fi
5echo 1=$1
6{ echo 2=$2; }
7{ echo 3=$3; } &
Mike Frysinger932e1112009-04-07 06:08:14 +00008# cant use usleep as it isnt standard in $PATH --
9# we fail when testing busybox compiled solely as "hush"
Denis Vlasenko1fd1ea42009-04-10 12:03:20 +000010wait
Denis Vlasenko30db43b2009-04-05 02:10:39 +000011( echo 4=$4 )
12( echo 5=$5 ) &
Denis Vlasenko1fd1ea42009-04-10 12:03:20 +000013wait
Denis Vlasenko30db43b2009-04-05 02:10:39 +000014true | echo 6=$6 | cat
15true | { echo 7=$7; } | cat