mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
tests(echo): ensure arguments in variables work
This commit is contained in:
parent
e5027323e1
commit
08baee41b6
1 changed files with 9 additions and 0 deletions
9
test.sh
9
test.sh
|
|
@ -1120,4 +1120,13 @@ expecting <<"EOF"
|
||||||
- hello world -$
|
- hello world -$
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
when_run <<"EOF" "echo arguments in variables"
|
||||||
|
export VAR="-n hello"
|
||||||
|
echo $VAR | cat -e
|
||||||
|
echo
|
||||||
|
EOF
|
||||||
|
expecting <<"EOF"
|
||||||
|
hello
|
||||||
|
EOF
|
||||||
|
|
||||||
finalize
|
finalize
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue