Skip to content

Python script that executes commands in your minishell and in the tcsh shell to compare them.

Notifications You must be signed in to change notification settings

marie-caro/Minishell-Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell-Testing {EPITECH} || 42-Testing

Description

Python script that executes commands in your minishell/42sh and in the tcsh shell to compare them.

Requirements

-> python3

How to use

  1. add you mysh/42sh exe to the folder
  2. run the "make" command

Careful

  1. The script will generate files such as "yes", "no", "a b c"... Do not worry about them, you can erase them.
  2. If messages such as "oiuoiu: No such file or directory." appear it is normal, here the goal is to try and produce erros. As those are errors, the output is not redirected to the file and instead is printed directly into the stdou. Just make sure that they appear twice -> once for your shell and the second time for the tcsh.

Preview

Example of the program once executed

How to add tests

In order to add tests you'll have to modify the "cmd" file.

The structure of each test is the following -> "test_name"={cmd to be executed}

-> Do not write more than one empty line at the end of the file <-

About

Python script that executes commands in your minishell and in the tcsh shell to compare them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published