diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-24 13:18:10 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-24 13:40:20 +0200 |
| commit | 96871d6f9554ba8d0ff5981edd252245aec9001e (patch) | |
| tree | 673ffb6aa624471e0d3748f3246d08e3a916b0fc /src/suites | |
| parent | 37b5238322d96c483512d2e671ec0a313e0aa73c (diff) | |
| download | minishell_test-96871d6f9554ba8d0ff5981edd252245aec9001e.tar.gz minishell_test-96871d6f9554ba8d0ff5981edd252245aec9001e.tar.bz2 minishell_test-96871d6f9554ba8d0ff5981edd252245aec9001e.zip | |
Fixing non explicit result on export without arguments
Diffstat (limited to 'src/suites')
| -rw-r--r-- | src/suites/flow.py | 6 | ||||
| -rw-r--r-- | src/suites/misc.py | 3 |
2 files changed, 5 insertions, 4 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # 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 <me@cacharle.xyz> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # 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 """ |
