aboutsummaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-23 12:12:02 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-24 14:53:00 +0300
commit7d292e2ab53dfc2cf6595f30bcdb6efa4bf260a3 (patch)
treeb1ef941923f1ab1634fda8baa2d1df9cfc45b8e5 /tests/test
parent28106f96de8ae5cdb3a0ee0e3a8a8185551e3b00 (diff)
Add support for shared here-documents
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test/script/runner/redirect.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/test/script/runner/redirect.test b/tests/test/script/runner/redirect.test
index f32492a..7cb6316 100644
--- a/tests/test/script/runner/redirect.test
+++ b/tests/test/script/runner/redirect.test
@@ -264,6 +264,16 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
EOI
$b
+ : shared
+ :
+ $c <<EOI;
+ $* -i 1 <<EOF >>EOF
+ foo
+ bar
+ EOF
+ EOI
+ $b
+
: extra-newline
:
$c <<EOI;
@@ -434,6 +444,15 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
EOI
$b
+ : shared
+ :
+ $c <<EOI;
+ $* -o foo -e foo >>~/EOF/ 2>>~/EOF/
+ foo
+ EOF
+ EOI
+ $b
+
: mismatch
:
$c <<EOI;