diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-03-10 16:04:00 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-03-10 16:04:00 +0000 |
| commit | 8999a290abaeccdeb56ca9032cf07fa898e3a342 (patch) | |
| tree | 7d763caabcc28c37b0556e0b7b4d50a078fb6b2f /bin/sh/tests | |
| parent | ead3ad6b5c194eb1bc2d9aef6e35cbadceb4a8d1 (diff) | |
Notes
Diffstat (limited to 'bin/sh/tests')
| -rw-r--r-- | bin/sh/tests/expansion/Makefile | 1 | ||||
| -rw-r--r-- | bin/sh/tests/expansion/cmdsubst23.0 | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bin/sh/tests/expansion/Makefile b/bin/sh/tests/expansion/Makefile index c0622323517b..99ed07fc719f 100644 --- a/bin/sh/tests/expansion/Makefile +++ b/bin/sh/tests/expansion/Makefile @@ -44,6 +44,7 @@ ${PACKAGE}FILES+= cmdsubst19.0 ${PACKAGE}FILES+= cmdsubst20.0 ${PACKAGE}FILES+= cmdsubst21.0 ${PACKAGE}FILES+= cmdsubst22.0 +${PACKAGE}FILES+= cmdsubst23.0 ${PACKAGE}FILES+= export1.0 ${PACKAGE}FILES+= export2.0 ${PACKAGE}FILES+= export3.0 diff --git a/bin/sh/tests/expansion/cmdsubst23.0 b/bin/sh/tests/expansion/cmdsubst23.0 new file mode 100644 index 000000000000..cde86981f461 --- /dev/null +++ b/bin/sh/tests/expansion/cmdsubst23.0 @@ -0,0 +1,5 @@ +# $FreeBSD$ + +unset n +x=abcd +[ "X${n#$(echo a)}X${x#$(echo ab)}X$(echo abc)X" = XXcdXabcX ] |
