aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-01 11:44:15 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-01 11:44:15 +0200
commit1cf685910f47be8f70fe3120a2aef4aa34d2e92a (patch)
tree8bfaf70d52a212c0ada8d126721a249dcca15ed3 /README.md
downloadminishell_test-1cf685910f47be8f70fe3120a2aef4aa34d2e92a.tar.gz
minishell_test-1cf685910f47be8f70fe3120a2aef4aa34d2e92a.tar.bz2
minishell_test-1cf685910f47be8f70fe3120a2aef4aa34d2e92a.zip
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ff7e0e8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,35 @@
+# minishell test
+
+Test for the minishell project of school 42.
+
+# Usage
+
+## Test compatibility
+
+Your executable **must** support the `-c` option which allow to pass command as string.
+
+example:
+
+```
+> bash -c 'echo bonjour je suis'
+bonjour je suis
+> ./minishell -c 'echo bonjour je suis'
+bonjour je suis
+
+> bash -c 'ls'
+README.md test.sh
+> ./minishell -c 'ls'
+README.md test.sh
+```
+
+The reasons for this is are:
+1. we're free to set the prompt to whatever we want
+2. termcaps would be a nightmare to test
+
+## Run
+
+`> ./test.sh`
+
+# Configuration
+
+The default configuration can be changed in the minishell\_test.config file.