rclanget / 42sh

1 stars 0 forks source link

bonuses/separators/or/errors/001-parse-error-at-beginning #84

Closed Wolfthuk closed 7 years ago

Wolfthuk commented 7 years ago

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

Description: Parsing test. The purpose of this test is to check that the OR 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: 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

Résolu