summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/param_subshell.tests (plain)
blob: 27fdc5b9b873146f8c3b163343b0cbdc601c5ffc
1if 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; } &
8# cant use usleep as it isnt standard in $PATH --
9# we fail when testing busybox compiled solely as "hush"
10wait
11( echo 4=$4 )
12( echo 5=$5 ) &
13wait
14true | echo 6=$6 | cat
15true | { echo 7=$7; } | cat
16