mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-05 23:18:08 +01:00
tests(var_subst): ensure commands partially in variables work
This commit is contained in:
parent
a040ad5613
commit
f6ae16bbf8
1 changed files with 12 additions and 0 deletions
12
test.sh
12
test.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue