commit | 8fa2bdb099376894beccf0f2d4c561e1572dfeec | [log] [tgz] |
---|---|---|
author | Eugene Susla <eugenesusla@google.com> | Thu Sep 17 14:57:04 2020 -0700 |
committer | Eugene Susla <eugenesusla@google.com> | Wed Sep 23 17:02:55 2020 -0700 |
tree | f8eb65de2de2b124a3adf6301f903a32c5648d98 | |
parent | a5a220e8cafc5107e9517f3be598e693d054df05 [diff] |
Run shell commands reliably Tests sometimes fail due to a shell command failing, bet we don't get the appropriate result from the command run itself, which leads to confusing states and challenging troubleshooting. E.g. jobscheduler reports its failure only via stderr. This introduces a utility that fails with the relevant command output, should something be printed to stderr. Test: atest AutoRevokeTest Bug: 168843991 Change-Id: I5e354c1b88ca3ceeeda2d5500b62c421174fd57c