From 6ee42f58d7293d810a5406d06020e1fdc9bcdaf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 4 Oct 2025 21:45:02 +0200 Subject: Redirection in shell scripts Changelog: Implemented input/output redirection in shell scripts --- test/script/shell.et | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'test/script/shell.et') diff --git a/test/script/shell.et b/test/script/shell.et index 2fe4ec3..282df37 100644 --- a/test/script/shell.et +++ b/test/script/shell.et @@ -74,7 +74,27 @@ test ShellPipe: expect_next_stdout from p: "bc" "b" - with p: expect /run-test-result Pipe done/ + + expect_next_stdout from p: + "x" + "b" + "c" + "y" + "b" + "c" + "z" + with p: + expect /run-test-result Redirect done/ + + expect_next_stdout from p: + "c" + "e" + "g" + "bcdefg" + with p: + expect /run-test-result PipeRedirect done/ + + with p: expect /run-all-done/ -- cgit v1.2.3