aboutsummaryrefslogtreecommitdiff
path: root/src/suites/builtin.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-29 14:17:32 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-10-29 14:17:32 +0100
commitd3ea6e61b70bf6bf8173f35ce0b3abbd264f24aa (patch)
treeb0ad7fee627904811062b4d3a7e8cf041c5ac45a /src/suites/builtin.py
parent5d701e1c3c4e90211fa4d85787452a9eb46cf15f (diff)
downloadminishell_test-d3ea6e61b70bf6bf8173f35ce0b3abbd264f24aa.tar.gz
minishell_test-d3ea6e61b70bf6bf8173f35ce0b3abbd264f24aa.tar.bz2
minishell_test-d3ea6e61b70bf6bf8173f35ce0b3abbd264f24aa.zip
Added echo edge case
Diffstat (limited to 'src/suites/builtin.py')
-rw-r--r--src/suites/builtin.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/suites/builtin.py b/src/suites/builtin.py
index 523ffe5..595833e 100644
--- a/src/suites/builtin.py
+++ b/src/suites/builtin.py
@@ -6,7 +6,7 @@
# By: juligonz <juligonz@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/15 18:24:43 by charles #+# #+# #
-# Updated: 2020/10/15 10:41:55 by cacharle ### ########.fr #
+# Updated: 2020/10/29 14:16:47 by cacharle ### ########.fr #
# Updated: 2020/09/11 18:01:27 by juligonz ### ########.fr #
# #
# **************************************************************************** #
@@ -58,6 +58,9 @@ def suite_echo(test):
test("EcHo bonjour", exports={"PATH": "/bin:/usr/bin"})
test("eChO bonjour", exports={"PATH": "/bin:/usr/bin"})
test("eChO -e 'bonjo\\nur'", exports={"PATH": "/bin:/usr/bin"})
+ test("echo -n -n -n -n bonjour")
+ test("echo -nnnnnnnnnnnnnnnnnnnnn bonjour")
+ test("echo -nnnnnnnnnnnnnnnnnnnnn -n -n -n bonjour -n -n")
@suite()