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