diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-11 12:33:34 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-11 12:33:34 +0200 |
| commit | 46ba2708f83bf46186c33bf84975d39e87f467c1 (patch) | |
| tree | 8275c80bba98d63e81e3af9a1df8be62e0419003 /suites/status.py | |
| parent | c0b1a90cf9c52a0c9b1623ac695516031d5ccdba (diff) | |
| download | minishell_test-46ba2708f83bf46186c33bf84975d39e87f467c1.tar.gz minishell_test-46ba2708f83bf46186c33bf84975d39e87f467c1.tar.bz2 minishell_test-46ba2708f83bf46186c33bf84975d39e87f467c1.zip | |
Refactoring files, splited test.py and suite.py in packages
Diffstat (limited to 'suites/status.py')
| -rw-r--r-- | suites/status.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/suites/status.py b/suites/status.py deleted file mode 100644 index 62c076e..0000000 --- a/suites/status.py +++ /dev/null @@ -1,30 +0,0 @@ -# ############################################################################ # -# # -# ::: :::::::: # -# status.py :+: :+: :+: # -# +:+ +:+ +:+ # -# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ # -# +#+#+#+#+#+ +#+ # -# Created: 2020/07/15 18:24:40 by charles #+# #+# # -# Updated: 2020/07/15 18:24:40 by charles ### ########.fr # -# # -# ############################################################################ # - -from suite import suite - -@suite -def suite_status(test): - test("echo $?") - test("echo; echo $?") - test("notfound; echo $?") - test("cat < doesntexist; echo $?") - test("cat < noperm; echo $?", setup="echo bonjour > noperm; chmod 000 noperm") - test("(ls && ls) && echo $?") - - test("echo") - test("notfound") - test("cat < doesntexist") - test("cat < noperm", setup="echo bonjour > noperm; chmod 000 noperm") - test("(ls && ls)") - test("(ls doesntexist || ls)") - test("(ls doesntexist && ls)") |
