test: migrate some tests from zms_testeur

This commit is contained in:
Khaïs COLIN 2025-04-18 09:57:19 +02:00
parent d44691a5b0
commit 6b2e15d301

15
test.sh
View file

@ -732,4 +732,19 @@ minishell: ?/home/khais: No such file or directory
127
EOF
when_run <<"EOF" "export with no arguments"
export
export $DONTEXIT
export $NOSUCHVAR $DONTEXIST
EOF
expecting <<EOF
EOF
when_run <<EOF "env with grep"
env | grep HOME
EOF
expecting <<EOF
$(env | grep HOME)
EOF
finalize