With this tester you can test your own shell. Based on TCSH.
- You must
make
your project. - Your binary must have the name "42sh".
Warning
Use epitests-docker for a better fialibity of the tester
- Clone this repo in your 42sh repository
git clone [email protected]:LouisLanganay/42sh-tester.git
- Run it with
./42sh-tester/my_tester.sh
OR
- Go to the last release and download the
run_tests.sh
file. - Put it in the root of your project.
- Run it with
./run_tests.sh
.
Note
You can get informations about a specific test using ./run_tests.sh TEST_NBR
cd
exit
env
setenv
unsetenv
echo
history
which
where
alias
;
|
>
>>
<
&&
||
- ```
Note
All return values are tested for each tests