summaryrefslogtreecommitdiff
path: root/test/script/shell.et
diff options
context:
space:
mode:
Diffstat (limited to 'test/script/shell.et')
-rw-r--r--test/script/shell.et20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/script/shell.et b/test/script/shell.et
index 7db19c8..2fe4ec3 100644
--- a/test/script/shell.et
+++ b/test/script/shell.et
@@ -58,3 +58,23 @@ test ShellEcho:
with p:
expect /run-test-result Echo done/
expect /run-all-done/
+
+
+test ShellPipe:
+ spawn as p
+ with p:
+ send "load ${scripts.path}/pipe.et"
+ local:
+ expect /(load-.*)/ capture done
+ guard (done == "load-done")
+ flush
+
+ send "run-all"
+
+ expect_next_stdout from p:
+ "bc"
+ "b"
+
+ with p:
+ expect /run-test-result Pipe done/
+ expect /run-all-done/