errors
rphlr opened this issue · 3 comments
rphlr commented
- exit -qqch
- tabs
- export vide
- cd ~
- env -i ./minishell
- env not found = segfault si /bin/ls ou autre
- echo $PATH segfault
- output = (char *)ft_gc_malloc(10000000); in char *format_token(char *token, t_global *global);
- minishell: /Users/rrouille/.local/bin:/Users/rrouille/.brew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki:/Library/Apple/usr/bin:/Users/rrouille/.local/bin:/Users/rrouille/.brew/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin/:/Applications/Visual Studio Code.app/Contents/Resources/app/bin/: command not found
- 'cat | cat | ls' should behave in a "normal way".
- Pipes
Execute commands with pipes like 'cat file | grep bla | more'
Repeat multiple times with different commands and arguments.
Try some wrong commands like 'ls filethatdoesntexist | grep bla | more'
Try to mix pipes and redirections. - Redirection
Execute commands with redirections < and/or >
Repeat multiple times with different commands and arguments and sometimes change > with >>
Check if multiple tries of the same redirections fail.
Test << redirection (it doesn't have to update the history).
Maria-esther0 commented
n'importe koi
rphlr commented
La fonction exit fonctionne à nouveau, les tabs ne provoque plus de segfault, export sans argument renvoie bien l'entièreté des variables d'environnement et triés, env -i ./minishell fonctionne et ne provoque pas de segfault si on entre une commande, "output = (char *)ft_gc_malloc(10000000); in char *format_token(char *token, t_global *global);" a été corrigé et une couleur random est lancée à chaque nouvelle ligne #TropKikoooo
rphlr commented