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