tests(export): ensure export with extra = works

This commit is contained in:
Khaïs COLIN 2025-04-25 15:04:25 +02:00
parent 553783eb2d
commit c4be8693d1

16
test.sh
View file

@ -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