ajout pleins de tests et correction unitest reconnaissance de fichiers

This commit is contained in:
hugogogo
2021-12-14 22:54:12 +01:00
parent 989c8de771
commit c60c647c33
9 changed files with 1084 additions and 1187 deletions

67
tests/defaults/else.sh Normal file
View File

@@ -0,0 +1,67 @@
touch file_name_in_current_dir
file_name_in_current_dir
not_cmd
minishell
./minishell
l^Ds
touch testt
chmod 000 testt
ls
./testt
/bin/ls
/bin/pwd
ls -la
/bin/chmod
/bin/ls -la
ctrl-C
ctrl-D
ctrl-\
asdf ctrl-C
asdf ctrl-D
cat ctrl-C
asdf ctrl-\
cat ctrl-D
hoi
ls -la
ls
/bin/ls
/binn/ls
$"
$'
123"456
\1
123\!456
123\456
$rewtwet
\maran
hallo\hoi
\hallo
\hallo