Skip to content

Devsstudent/Shell_Tester

Repository files navigation

Minishell Tester

  • We made this tester to test our project faster than with your hand :)
  • Testing leak and difference between minishell and bash

Usage

  • Modify the minishell_path in tester.sh
  • Then enter : make or make test_bonus for the bonus
  • You can clean : make clean
  • You can choose the test directory : make path_test=the_path_of_your_choice
  • Each test are in one file, we loop on every file in the test directory (Comparing bash and our shell)
  • Output are stored in test_output directory :
    • cmd tested
    • bash_output
    • our_output
  • If you want the diff to be displayed directly during the running time of the test : uncomment line 50 in the script

script_cut.sh

- It's a script i use to transform each line or (every other line) of a file to many test_file in a directory
- I let it there may be useful ! Happy if you modify it for your need : )

We provide some test, but you can create your own test, following the way the tester is working ! Don't hesitate to make your own tester, modify this one, understand it etc !

Kiss :*

About

Our own tester for minishel at 42

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors