aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/runner')
-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;