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