xref: /freebsd/bin/sh/tests/expansion/arith7.0 (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1# $FreeBSD$
2
3v=1+
4v=$v$v$v$v
5v=$v$v$v$v
6v=$v$v$v$v
7v=$v$v$v$v
8v=$v$v$v$v
9[ "$(cat <<EOF
10$(($v 1))
11EOF
12)" = 1025 ]
13