tests(var_subst): ensure commands partially in variables work

This commit is contained in:
Khaïs COLIN 2025-04-25 14:59:00 +02:00
parent a040ad5613
commit f6ae16bbf8

12
test.sh
View file

@ -1166,4 +1166,16 @@ expecting <<EOF
hello and goodbyehello$
EOF
when_run <<"EOF" "command partially in variable"
touch file1 file2
export CMD="s -a"
l$CMD
EOF
expecting <<EOF
.
..
file1
file2
EOF
finalize