Simple tester for 42 minishell project
- everything
- even exit
- and of course leaks using valgrind (readline leaks ignored)
- heredoc, exit status, pipes, redirect, special files opening
- ...
- Clone the repo
- Set your minishell path
minishell_dir=in tester.sh - Run
bash tester.sh - Don't forget : prompt has to be printed on STDERR
For leak test : set VALGRIND_LEAKS_CKECK=1 (about 3mn on 42 PCs)