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