Closed Wolfthuk closed 7 years ago
42sh/subshell/mixed/quoting/003-with-simple-and-double-quotes (FAILED)
Description: The purpose of this test is to check that the command line parser correctly takes in account the inhibitor symbols ' and ".
'
"
STDIN: 01: (./write_on_stdout "TOKEN201612111732_FIRST)" ; (./write_on_stdout '(TOKEN201612111732_SECOND') )
STDOUT: SUCCESS expected_to match_regex TOKEN201612111732_FIRST FAILURE expected_to match_regex TOKEN201612111732_SECOND 01: TOKEN201612111732_FIRST
TOKEN201612111732_FIRST
TOKEN201612111732_SECOND
STDERR: SUCCESS expected_to be_empty (no output)
bug fixé dans clean_parentheses, ne vérifiait pas la présence de quote, double quote et magic quote
42sh/subshell/mixed/quoting/003-with-simple-and-double-quotes (FAILED)
Description: The purpose of this test is to check that the command line parser correctly takes in account the inhibitor symbols
'
and"
.STDIN: 01: (./write_on_stdout "TOKEN201612111732_FIRST)" ; (./write_on_stdout '(TOKEN201612111732_SECOND') )
STDOUT: SUCCESS expected_to match_regex
TOKEN201612111732_FIRST
FAILURE expected_to match_regexTOKEN201612111732_SECOND
01: TOKEN201612111732_FIRSTSTDERR: SUCCESS expected_to be_empty (no output)