aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-11-18 17:32:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-11-19 12:43:34 +0300
commit15507d112650477ad64a5c9b19b4e515124affec (patch)
tree90911eccece558cd5642fa820d113c02aa2905c4 /tests/test/script
parentbb601c7d4e948035e1a087c7720aae6e2e7ef973 (diff)
Fix set buildscript builtin crash on Windows
Diffstat (limited to 'tests/test/script')
-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