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

shell_stdout_lines returns an error #14

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

rukai
Copy link
Member

@rukai rukai commented Oct 9, 2023

Previously we were just using this method to run user facing commands, so it was up to the user to determine if the command failed or not.
Or in another case, it was running commands that would identify a failure via serialized messages sent to stdout.
So there was previously no need to return an Err.

However I would like to start using this method for tests where we run a command that demonstrates failure via non-zero exit code.
So we need this error to know if we should fail the test or not.

I also whacked on some documentation to some of the methods here.

@rukai rukai merged commit 9d4e683 into shotover:main Oct 10, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants