From d16a0e0a9aaf60aaf2862fec50be10279566ff0d Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 10 Nov 2020 13:17:04 +0100 Subject: Added redirection precedence on pipe test --- src/suites/flow.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/suites/flow.py b/src/suites/flow.py index 8ff66cb..2c00b2f 100644 --- a/src/suites/flow.py +++ b/src/suites/flow.py @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:24:52 by charles #+# #+# # -# Updated: 2020/10/24 13:40:12 by charles ### ########.fr # +# Updated: 2020/11/10 13:16:28 by cacharle ### ########.fr # # # # ############################################################################ # @@ -92,6 +92,10 @@ def suite_pipe(test): test("echo a | ls asdfasdf") test("ls asdfasdf | echo a; echo b") test("echo a | ls asdfasdf; echo b") + test("echo a > foo | cat -e", files=["foo"]) + test("echo a >> foo | cat -e", files=["foo"]) + test("echo a | cat -e < foo", setup="echo b > foo") + test("echo a > bar | cat -e < foo", setup="echo b > foo", files=["bar"]) @suite(bonus=True) -- cgit