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