mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
fix(tests): remove dependency on $HOME
This commit is contained in:
parent
f6ae16bbf8
commit
553783eb2d
1 changed files with 2 additions and 1 deletions
3
test.sh
3
test.sh
|
|
@ -723,12 +723,13 @@ minishell: /cmd/does/not/exist: No such file or directory
|
|||
127
|
||||
EOF
|
||||
|
||||
EXTRAENV="HOME=/home/fakeuser"
|
||||
when_run <<EOF "?\$HOME"
|
||||
?\$HOME
|
||||
echo \$?
|
||||
EOF
|
||||
expecting <<EOF
|
||||
minishell: ?/home/khais: No such file or directory
|
||||
minishell: ?/home/fakeuser: No such file or directory
|
||||
127
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue