diff --git a/test.sh b/test.sh index 1a00408..d2e18ad 100755 --- a/test.sh +++ b/test.sh @@ -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 <