Closed Wolfthuk closed 7 years ago
minishell/builtins/exit/003-status-of-last-command (FAILED)
Description: The purpose of this test is to check that using the builtin exit without any argument results in a Shell termination and the exit status of the previous command.
exit
STDIN: 01: ./exit_with_status 42 02: exit
STDOUT: SUCCESS might be_empty (no output)
STDERR: (no output)
MISC: FAILURE expected_to exit_with_status 42
42
00488724e749d50d93e56d4a209036f3c0bff062
minishell/builtins/exit/003-status-of-last-command (FAILED)
Description: The purpose of this test is to check that using the builtin
exit
without any argument results in a Shell termination and the exit status of the previous command.STDIN: 01: ./exit_with_status 42 02: exit
STDOUT: SUCCESS might be_empty (no output)
STDERR: (no output)
MISC: FAILURE expected_to exit_with_status
42