summaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/parser/line-cont6.0
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/sh/tests/parser/line-cont6.0')
-rw-r--r--shell_cmds/sh/tests/parser/line-cont6.023
1 files changed, 23 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/parser/line-cont6.0 b/shell_cmds/sh/tests/parser/line-cont6.0
new file mode 100644
index 0000000..66838e1
--- /dev/null
+++ b/shell_cmds/sh/tests/parser/line-cont6.0
@@ -0,0 +1,23 @@
+# $FreeBSD: head/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" ]