rclanget / 42sh

1 stars 0 forks source link

42sh/subshell/mixed/builtins/exit/001-exiting-subshell #70

Closed Wolfthuk closed 7 years ago

Wolfthuk commented 7 years ago

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 7 years ago

Résolu