42sh/subshell/mixed/builtins/exit/001-exiting-subshell
Closed this issue · 1 comments
Wolfthuk commented
42sh/subshell/mixed/builtins/exit/001-exiting-subshell (FAILED)
Description:
The purpose of this test is to check that prematurely exiting a subshell does work and does not result in parent shell termination.
STDIN:
01: (exit ; ./write_on_stdout TOKEN201612111732_NOT_DISPLAYED)
02: ./write_on_stdout TOKEN201612111732_DISPLAYED
STDOUT:
FAILURE expected_to_not match_regex TOKEN201612111732_NOT_DISPLAYED
SUCCESS expected_to match_regex TOKEN201612111732_DISPLAYED
01: TOKEN201612111732_NOT_DISPLAYED
02: TOKEN201612111732_DISPLAYED
STDERR:
SUCCESS expected_to be_empty
(no output)
rclanget commented
Résolu