mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
fix(parsing/here_doc): segfault & invalid fd & premature exit
This commit is contained in:
parent
3be2969946
commit
5e6d7b3b4e
9 changed files with 112 additions and 46 deletions
9
test.sh
9
test.sh
|
|
@ -688,4 +688,13 @@ expecting <<"EOF"
|
|||
minishell: syntax error near unexpected token `>'
|
||||
EOF
|
||||
|
||||
when_run <<EOF "here_doc"
|
||||
cat << EOT
|
||||
hello!
|
||||
EOT
|
||||
EOF
|
||||
expecting <<EOF
|
||||
hello!
|
||||
EOF
|
||||
|
||||
finalize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue