(fix): Proper behaviour for wildcards and proper test

This commit is contained in:
Jérôme Guélen 2025-04-26 16:20:34 +02:00
parent e5952b3f43
commit 25ffc3fb6f
No known key found for this signature in database

View file

@ -1343,6 +1343,7 @@ outfile
EOF EOF
when_run <<"EOF" "normal behaviour with wildcard before echo" when_run <<"EOF" "normal behaviour with wildcard before echo"
touch outfile
export target=out* export target=out*
echo $target echo $target
EOF EOF
@ -1351,6 +1352,7 @@ outfile
EOF EOF
when_run <<"EOF" "normal behaviour with wildcard after variable expansion" when_run <<"EOF" "normal behaviour with wildcard after variable expansion"
touch outfile
export target="out*" export target="out*"
echo $target echo $target
EOF EOF