mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
tests(export): ensure @ is accepted in variable values
This commit is contained in:
parent
297d68e73c
commit
45869f1154
1 changed files with 8 additions and 0 deletions
8
test.sh
8
test.sh
|
|
@ -1070,4 +1070,12 @@ minishell: syntax error near unexpected token `('
|
||||||
var=
|
var=
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
when_run <<"EOF" "@ in variable value"
|
||||||
|
export VAR=bon@jour
|
||||||
|
echo $VAR
|
||||||
|
EOF
|
||||||
|
expecting <<EOF
|
||||||
|
bon@jour
|
||||||
|
EOF
|
||||||
|
|
||||||
finalize
|
finalize
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue