summary refs log tree commit diff
path: root/bin/cash/tests/parser/line-cont6.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cash/tests/parser/line-cont6.0')
-rw-r--r--bin/cash/tests/parser/line-cont6.023
1 files changed, 23 insertions, 0 deletions
diff --git a/bin/cash/tests/parser/line-cont6.0 b/bin/cash/tests/parser/line-cont6.0
new file mode 100644
index 00000000..f6ba749f
--- /dev/null
+++ b/bin/cash/tests/parser/line-cont6.0
@@ -0,0 +1,23 @@
+# $FreeBSD: releng/12.0/bin/sh/tests/parser/line-cont6.0 273276 2014-10-19 11:59:15Z jilles $
+
+v0\
+=abc
+
+v=$(cat <\
+<\
+E\
+O\
+F
+${v0}d
+EOF
+)
+
+w=$(cat <\
+<\
+-\
+EOF
+	efgh
+EOF
+)
+
+[ "$v.$w" = "abcd.efgh" ]