summary refs log tree commit diff
path: root/bin/cash/tests/expansion/plus-minus8.0
blob: bdd4ff5f74b172c2d5b3fbe85e072c3fc109aa59 (plain) (blame)
1
2
3
4
5
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/plus-minus8.0 219623 2011-03-13 20:02:39Z jilles $

set -- 1 2 3 4 5 6 7 8 9 10 11 12 13
[ "${#+hi}" = hi ] || echo '${#+hi} wrong'
[ "${#-hi}" = 13 ] || echo '${#-hi} wrong'