xref: /freebsd/bin/sh/tests/parameters/positional5.0 (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
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