NB: Works on macOS only, not Ubuntu. I'll work on it later, or you are welcome to contribute as well :)
A simple Minishell tester, it checks your output and your exit status are similar to the bash or not also it checks it compare your return errors else it returns where's your wrong see :
./tester.sh --help
How To Use a Minishell_Tester :
1️⃣ Put your path in here:
2️⃣ Go to your Makefile and make sure to not insert any flags for readline only -lreadline :
3️⃣ Check if there's any rl_replace_line and make sure to comment it :
4️⃣ If you print any of thoses please comment them and that's it:
git clone https://github.com/Toufa7/Minishell_Tester.git
cd Minishell_Tester
chmod +x tester.sh
./tester.sh -options
./tester.sh [-h|--help|a|E|e|p|u|x]
-
The following options are available:
- h or --help Help
- a All
- c Cd
- E Echo
- e Export
- p Pipes
- u Unset
- x Exit
🤝 Feel free to use it, contribute and add your crazy tests