xref: /freebsd/bin/sh/tests/parameters/positional5.0 (revision edf8578117e8844e02c0121147f45e4609b30680)
1
2i=1
3r=0
4while [ $i -lt $((0x100000000)) ]; do
5	t=
6	eval t=\${$i-x}
7	case $t in
8	x) ;;
9	*) echo "Problem with \${$i}" >&2; r=1 ;;
10	esac
11	i=$((i + 0x10000000))
12done
13exit $r
14