From 84b23010e0d0515ad3ed17a605440e50439781e8 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 9 Oct 2020 11:19:58 +0200 Subject: Formatting/Refactoring, Added pretty ascii art --- src/suites/flow.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/suites/flow.py') diff --git a/src/suites/flow.py b/src/suites/flow.py index a62cd9d..eb9eb30 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/08 17:33:32 by cacharle ### ########.fr # +# Updated: 2020/10/09 08:51:57 by cacharle ### ########.fr # # # # ############################################################################ # @@ -203,6 +203,10 @@ def suite_parenthesis(test): test("( echo salut && echo bonjours ) ; echo comment ca va") test("(cd /; echo $PWD; pwd); echo $PWD; pwd") test("(export A=a; echo $A); echo $A") + test("(cat /etc/shells) | (cat -e) | (cat -e) | (cat -e)") + test("(cat /etc/shells) | (cat -e) | (cat -e) | (cat -e) | (cat -e) | (cat -e) | (cat -e) | (cat -e) | (cat -e)") + test("(cat /etc/shells | (cat -e) | (cat -e) | (cat -e)", hook=[error_line0, error_eof_to_expected_token]) + test("(cat /etc/shells) | (cat -e) | (cat -e | (cat -e)", hook=[error_line0, error_eof_to_expected_token]) @suite() -- cgit