aboutsummaryrefslogtreecommitdiff
path: root/src/suites/status.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-11 15:52:01 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-11 16:15:00 +0200
commitdcb4a6453ca1ca6789c3121a739f373abeaba14c (patch)
treeda3d3ef6ebbf4dda57b728edc0d366b2fbe62faf /src/suites/status.py
parentd0a80859f630866461e8a888b3f8fe008c8158ba (diff)
downloadminishell_test-dcb4a6453ca1ca6789c3121a739f373abeaba14c.tar.gz
minishell_test-dcb4a6453ca1ca6789c3121a739f373abeaba14c.tar.bz2
minishell_test-dcb4a6453ca1ca6789c3121a739f373abeaba14c.zip
Added output hook and sort_lines hook
Diffstat (limited to 'src/suites/status.py')
-rw-r--r--src/suites/status.py30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/suites/status.py b/src/suites/status.py
deleted file mode 100644
index 416b69a..0000000
--- a/src/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)")