mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
fix(exec): do now swallow prompt and io on incorrect command followed by redirection
This commit is contained in:
parent
65c1eb9d84
commit
d4da91b62b
2 changed files with 20 additions and 8 deletions
9
test.sh
9
test.sh
|
|
@ -1449,4 +1449,13 @@ hi
|
|||
hello
|
||||
EOF
|
||||
|
||||
when_run <<EOF "incorrect command into redirection"
|
||||
printff hello > bonjour
|
||||
ls
|
||||
EOF
|
||||
expecting <<EOF
|
||||
minishell: printff: command not found
|
||||
bonjour
|
||||
EOF
|
||||
|
||||
finalize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue