aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner/set.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/runner/set.testscript')
-rw-r--r--tests/test/script/runner/set.testscript9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/test/script/runner/set.testscript b/tests/test/script/runner/set.testscript
index 41709e4..777eccf 100644
--- a/tests/test/script/runner/set.testscript
+++ b/tests/test/script/runner/set.testscript
@@ -276,7 +276,14 @@
:
$c <<EOI && $b
env -t 10 -- $* -o 'foo' | set bar;
- echo $bar >foo 2>|
+ echo "$bar" >'foo'
+ EOI
+
+ : non-pipe
+ :
+ $c <<EOI && $b
+ env -t 10 -- set bar <'foo';
+ echo "$bar" >'foo'
EOI
: set-reached