From 96871d6f9554ba8d0ff5981edd252245aec9001e Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 24 Oct 2020 13:18:10 +0200 Subject: Fixing non explicit result on export without arguments --- src/suites/flow.py | 6 +++--- src/suites/misc.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/suites') diff --git a/src/suites/flow.py b/src/suites/flow.py index ac4aec0..8ff66cb 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/09 20:14:40 by charles ### ########.fr # +# Updated: 2020/10/24 13:40:12 by charles ### ########.fr # # # # ############################################################################ # @@ -206,9 +206,9 @@ def suite_parenthesis(test): 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], hook_status=platform_status(2, 1)) + hook=[error_line0, error_eof_to_expected_token], hook_status=platform_status(2, 1)) test("(cat /etc/shells) | (cat -e) | (cat -e | (cat -e)", - hook=[error_line0, error_eof_to_expected_token], hook_status=platform_status(2, 1)) + hook=[error_line0, error_eof_to_expected_token], hook_status=platform_status(2, 1)) @suite() diff --git a/src/suites/misc.py b/src/suites/misc.py index 020069a..004ebf1 100644 --- a/src/suites/misc.py +++ b/src/suites/misc.py @@ -6,12 +6,13 @@ # By: cacharle +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/10/10 13:06:19 by cacharle #+# #+# # -# Updated: 2020/10/10 13:48:31 by cacharle ### ########.fr # +# Updated: 2020/10/24 13:39:48 by charles ### ########.fr # # # # ############################################################################ # from suite import suite + @suite() def suite_shlvl(test): """ test for the SHLVL variable """ -- cgit