summary refs log tree commit diff
path: root/bin/cash/tests/expansion/cmdsubst23.0
blob: 9ffb2eed7d796675b5ecf19871c3f2faacbf06fc (plain) (blame)
1
2
3
4
5
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/cmdsubst23.0 315005 2017-03-10 16:04:00Z jilles $

unset n
x=abcd
[ "X${n#$(echo a)}X${x#$(echo ab)}X$(echo abc)X" = XXcdXabcX ]