aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent5d701e1c3c4e90211fa4d85787452a9eb46cf15f (diff)
downloadminishell_test-d3ea6e61b70bf6bf8173f35ce0b3abbd264f24aa.tar.gz
minishell_test-d3ea6e61b70bf6bf8173f35ce0b3abbd264f24aa.tar.bz2
minishell_test-d3ea6e61b70bf6bf8173f35ce0b3abbd264f24aa.zip
Added echo edge case
Diffstat (limited to 'src')
-rw-r--r--src/config.py4
-rw-r--r--src/suites/builtin.py5
2 files changed, 6 insertions, 3 deletions
diff --git a/src/config.py b/src/config.py
index a7001e7..7f6768a 100644
--- a/src/config.py
+++ b/src/config.py
@@ -6,7 +6,7 @@
# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/15 18:24:19 by charles #+# #+# #
-# Updated: 2020/10/10 14:22:02 by cacharle ### ########.fr #
+# Updated: 2020/10/11 15:47:30 by cacharle ### ########.fr #
# #
# ############################################################################ #
@@ -28,7 +28,7 @@ BONUS = False
PROMPT = None
# minishell dir path
-MINISHELL_DIR = ".."
+MINISHELL_DIR = "../minishell"
# minishell executable
MINISHELL_EXEC = "minishell"
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()