diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-23 12:12:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-24 14:53:00 +0300 |
commit | 7d292e2ab53dfc2cf6595f30bcdb6efa4bf260a3 (patch) | |
tree | b1ef941923f1ab1634fda8baa2d1df9cfc45b8e5 /tests/test/script | |
parent | 28106f96de8ae5cdb3a0ee0e3a8a8185551e3b00 (diff) |
Add support for shared here-documents
Diffstat (limited to 'tests/test/script')
-rw-r--r-- | tests/test/script/runner/redirect.test | 19 |
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; |