aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/testscript')
-rw-r--r--tests/test/script/testscript26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/test/script/testscript b/tests/test/script/testscript
index b1cf0a5..9b43467 100644
--- a/tests/test/script/testscript
+++ b/tests/test/script/testscript
@@ -40,3 +40,29 @@ EOI
foo
bar
EOE
+
+# No-newline tests.
+#
+# @@ TMP Need does not compare test.
+#
+$* -i 1 <:"foo" >:"foo" # no-newline-str
+#$* -i 1 <:"foo" >!"foo" # no-newline-str-fail1
+#$* -i 1 <"foo" >:!"foo" # no-newline-str-fail2
+
+$* -i 1 <<:EOI >>:EOO # no-newline-doc
+foo
+EOI
+foo
+EOO
+
+#$* -i 1 <<:EOI >>!EOO # no-newline-doc-fail1
+#foo
+#EOI
+#foo
+#EOO
+
+#$* -i 1 <<EOI >>:!EOO # no-newline-doc-fail2
+#foo
+#EOI
+#foo
+#EOO