summary refs log tree commit diff
path: root/bin/cash/tests/expansion/trim10.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cash/tests/expansion/trim10.0')
-rw-r--r--bin/cash/tests/expansion/trim10.07
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/cash/tests/expansion/trim10.0 b/bin/cash/tests/expansion/trim10.0
new file mode 100644
index 00000000..f163c1a3
--- /dev/null
+++ b/bin/cash/tests/expansion/trim10.0
@@ -0,0 +1,7 @@
+# $FreeBSD: releng/12.0/bin/sh/tests/expansion/trim10.0 333927 2018-05-20 17:25:52Z jilles $
+
+a='z
+'
+b=${a%
+}
+[ "$b" = z ]