mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-05 23:18:08 +01:00
(fix/enhancement): Added two tests for behaviour when not file corresponds
This commit is contained in:
parent
25ffc3fb6f
commit
32dd807c9d
1 changed files with 16 additions and 0 deletions
16
test.sh
16
test.sh
|
|
@ -1360,4 +1360,20 @@ expecting <<EOF
|
|||
outfile
|
||||
EOF
|
||||
|
||||
when_run <<"EOF" "normal behaviour with wildcard before echo where no file corresponds"
|
||||
export target=out*
|
||||
echo $target
|
||||
EOF
|
||||
expecting <<EOF
|
||||
out*
|
||||
EOF
|
||||
|
||||
when_run <<"EOF" "normal behaviour with wildcard after variable expansion where no file corresponds"
|
||||
export target="out*"
|
||||
echo $target
|
||||
EOF
|
||||
expecting <<EOF
|
||||
out*
|
||||
EOF
|
||||
|
||||
finalize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue