From 1cf685910f47be8f70fe3120a2aef4aa34d2e92a Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 1 May 2020 11:44:15 +0200 Subject: Initial commit --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 README.md (limited to 'README.md') 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. -- cgit