mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
tests(export): ensure export with extra = works
This commit is contained in:
parent
553783eb2d
commit
c4be8693d1
1 changed files with 16 additions and 0 deletions
16
test.sh
16
test.sh
|
|
@ -1179,4 +1179,20 @@ file1
|
|||
file2
|
||||
EOF
|
||||
|
||||
when_run <<"EOF" "export with extra ="
|
||||
export VA=A=hello
|
||||
echo $VA
|
||||
EOF
|
||||
expecting <<EOF
|
||||
A=hello
|
||||
EOF
|
||||
|
||||
when_run <<"EOF" "export with extra = and empty string"
|
||||
export HOL=A=""
|
||||
echo $HOL
|
||||
EOF
|
||||
expecting <<EOF
|
||||
A=
|
||||
EOF
|
||||
|
||||
finalize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue