It works very similar Holberton's shell checker found here.
Change SHELL
to the directory where your shell executable is, for example:
SHELL="../../HolbertonRepos/bash_stuff/simple_shell/V3/h"
!! Attention !! Not changing the SHELL variable will restult in false tests.
Next, consider checking out the Optional settings
section of the config
file, there you can choose to enable the following:
valgrind_check
: Valgrind checks (set on by default, change to0
to turn off)betty_check
: Betty checks (set off by default) --> if you do betty checks, please alter thebettycheckerdir
variable to point to your folder containing source code for your shellCOUNTADV
: gives the ability turn off advanced checks (on by default)FUNMODE
: is a fun mode which changes the interface of the checker (set off by default)SHOWEGG
: An easteregg (on by default)
* Showing errors is off by default (to keep things less cluttered)
- !! Please keep in mind only the checks in
I&ATests
andZ_Advanced
will display detailed debug information because we didn't write the scripts by Holberton
To execute the checker, just type ./checker.bash
in your terminal from the directory that contains your clone:
- As a side note, please don't clone this checker into your source directory for your shell, the best place to clone is a seperate folder in your HOME dir or Desktop
If you'd like to contribute to the checker, please contact either Austin or Isaiah. If you're a shell pro, create a fork and add your own test directory with as many tests as you'd like, once you're finished, create a pull request and we'll test and approve it. :)
Cheers!