Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bonuses/separators/and/errors/002-parse-error-too-much-symbol #79

Open
Wolfthuk opened this issue Dec 11, 2016 · 0 comments
Open

bonuses/separators/and/errors/002-parse-error-too-much-symbol #79

Wolfthuk opened this issue Dec 11, 2016 · 0 comments
Assignees
Labels

Comments

@Wolfthuk
Copy link
Collaborator

bonuses/separators/and/errors/002-parse-error-too-much-symbol (WARNING)

Description:
Parsing test.
The purpose of this test is to check that more than two '&' operators are detected as a syntax error.
It should not execute the two commands write_on_stdout but display an error and exit with an error status code.

STDIN:
01: ./write_on_stdout TOKEN201612111732 &&& ./write_on_stdout TOKEN201612111732

STDOUT:
WARNING might_not match_regex TOKEN201612111732
WARNING might be_empty
01: TOKEN201612111732

STDERR:
SUCCESS might_not be_empty
WARNING might match_regex ([Ss]yntax|[Pp]arse) error
01: 42sh: &: command not found

MISC:
SUCCESS expected_to_not exit_with_status 0

@Wolfthuk Wolfthuk self-assigned this Dec 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant