Thanks to visit codestin.com
Credit goes to github.com

Skip to content

simon-ameye/42-minishell_bash_tester_2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42-minishell_bash_tester_2022

Simple tester for 42 minishell project

Tested :

  • everything
  • even exit
  • and of course leaks using valgrind (readline leaks ignored)
  • heredoc, exit status, pipes, redirect, special files opening
  • ...

Install :

  1. Clone the repo
  2. Set your minishell path minishell_dir= in tester.sh
  3. Run bash tester.sh
  4. Don't forget : prompt has to be printed on STDERR

For leak test : set VALGRIND_LEAKS_CKECK=1 (about 3mn on 42 PCs)

Our version of minishell that passes all tests :

simon-ameye/42-minishell

Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages