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