Skip to content

cmd.Wait() for a non 0 exit code is filled with metadata (it's assuming any non 0 exit code is bad), by pinning verify on this being nil means we are doing the same - #616

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_463828067
Jul 28, 2022

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jul 28, 2022

Copy link
Copy Markdown

cmd.Wait() for a non 0 exit code is filled with metadata (it's assuming any non 0 exit code is bad), by pinning verify on this being nil means we are doing the same

The returned error is nil if the command runs, has no problems copying stdin, stdout, and stderr, and exits with a zero exit status.

Do some additional parsing of res.ExitErr first to not bail on verification if ExitErr contains a "bad" exit status and let the additional checks determine if the run was bad.

@copybara-service
copybara-service Bot force-pushed the test_463828067 branch 5 times, most recently from 4a16dbc to b3fffea Compare July 28, 2022 20:42
…ng any non 0 exit code is bad), by pinning verify on this being nil means we are doing the same

```
The returned error is nil if the command runs, has no problems copying stdin, stdout, and stderr, and exits with a zero exit status.
```

Do some additional parsing of res.ExitErr first to not bail on verification if ExitErr contains a "bad" exit status and let the additional checks determine if the run was bad.

PiperOrigin-RevId: 463916936
@copybara-service
copybara-service Bot merged commit b20e1fe into master Jul 28, 2022
@copybara-service
copybara-service Bot deleted the test_463828067 branch July 28, 2022 20:49
@github-pages
github-pages Bot temporarily deployed to github-pages July 28, 2022 20:49 Inactive
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.

1 participant