blob: 565a84589c47f61e15fc2afdc28d4a7f17d938c2 [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"
10sleep 1
Denis Vlasenko30db43b2009-04-05 02:10:39 +000011( echo 4=$4 )
12( echo 5=$5 ) &
Mike Frysinger932e1112009-04-07 06:08:14 +000013sleep 1
Denis Vlasenko30db43b2009-04-05 02:10:39 +000014true | echo 6=$6 | cat
15true | { echo 7=$7; } | cat