diff options
author | Ed Santiago <santiago@redhat.com> | 2020-07-21 08:31:56 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2020-07-21 08:31:56 -0600 |
commit | 2b323f2238cf37b480a0f77e88673c2ef2582b15 (patch) | |
tree | 1832aba8033b9432f147a2959143f1742960b930 /.gitignore | |
parent | df6920aa79073b2767d24c6524367384b6284b31 (diff) | |
download | podman-2b323f2238cf37b480a0f77e88673c2ef2582b15.tar.gz podman-2b323f2238cf37b480a0f77e88673c2ef2582b15.tar.bz2 podman-2b323f2238cf37b480a0f77e88673c2ef2582b15.zip |
BATS help-message test: improve diagnostics
The error messages from the 'podman xxx --help' cross-check
test are unhelpful, and cause much wasted time when they trigger.
Solution: instead of using the built-in exit-status check
in run_podman, do an explicit check outside of run_podman.
This lets us die() with a custom, hopefully useful, message.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions