summaryrefslogtreecommitdiff
path: root/test/system/005-info.bats
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-07-21 08:31:56 -0600
committerEd Santiago <santiago@redhat.com>2020-07-21 08:31:56 -0600
commit2b323f2238cf37b480a0f77e88673c2ef2582b15 (patch)
tree1832aba8033b9432f147a2959143f1742960b930 /test/system/005-info.bats
parentdf6920aa79073b2767d24c6524367384b6284b31 (diff)
downloadpodman-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 'test/system/005-info.bats')
0 files changed, 0 insertions, 0 deletions