rclanget / 42sh

1 stars 0 forks source link

minishell/builtins/exit/003-status-of-last-command #100

Closed Wolfthuk closed 7 years ago

Wolfthuk commented 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.

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

ulefebvr commented 7 years ago

00488724e749d50d93e56d4a209036f3c0bff062