8000 GitHub - LouisLanganay/42sh-tester at v1.2
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A shell tester for 42sh, minishell2, minishell1 projects. Tests results based on TCSH

License

Notifications You must be signed in to change notification settings

LouisLanganay/42sh-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

42sh tester

With this tester you can test your own shell. Based on TCSH.

Requirements ⚠️

  • You must make your project.
  • Your binary must have the name "42sh".

Usage

  1. Clone this repo in your 42sh repository git clone git@github.com:LouisLanganay/42sh-tester.git
  2. Run it with ./42sh-tester/my_tester.sh

OR

  1. Go to the last release and download the run_tests.sh file.
  2. Put it in the root of your project.
  3. Run it with ./run_tests.sh.

Note Don't forget to chmod 777 run_tests.sh before running it.

Features tested

Commands builtin

  • cd
  • exit
  • env
  • setenv
  • unsetenv
  • echo

Separators

  • |
  • >
  • >>
  • <

Example

image image image

Credits

https://github.com/M4gie/epi-minishell2-tester/tree/1d1279afc569d147631ca79b41be9e50551fe4ba

Logo

About

A shell tester for 42sh, minishell2, minishell1 projects. Tests results based on TCSH

Resources

License

Stars

Watchers

Forks

Languages

0