rclanget / 42sh

1 stars 0 forks source link

bonuses/separators/and/errors/001-parse-error-at-beginning #78

Closed Wolfthuk closed 7 years ago

Wolfthuk commented 7 years ago

bonuses/separators/and/errors/001-parse-error-at-beginning (WARNING)

Description: Parsing test. The purpose of this test is to check that the AND operator && must be placed after a valid command. If not, the Shell should display an error and exit with an error status code.

STDIN: 01: && ./write_on_stdout TOKEN201612111732

STDOUT: SUCCESS might_not match_regex TOKEN201612111732 WARNING might be_empty 01: 42sh: parse error near '&&'

STDERR: WARNING might_not be_empty WARNING might match_regex ([Ss]yntax|[Pp]arse) error (no output)

MISC: WARNING might_not exit_with_status 0

rclanget commented 7 years ago

Done