aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/config.py4
-rw-r--r--src/suites/builtin.py5
3 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index e788d48..dc37b49 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Test for the minishell project of school 42.
## Usage
-The default path to your project is `..` but you can change it the the [configuration](src/config.py).
+The default path to your project is `../minishell` but you can change it the the [configuration](src/config.py).
```sh
$ ./run # run all tests
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()