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