summaryrefslogtreecommitdiff
path: root/hack/podmanv2-retry
Commit message (Collapse)AuthorAge
* podmanv2-retry - new helper for testing v2Ed Santiago2020-04-01
./hack/podmanv2-retry will first invoke $PODMAN_V2 with given arguments. If that fails with any of the following errors: unrecognized command unknown flag unknown shorthand ...it will run $PODMAN_FALLBACK with the same arguments. Output and exit code will be those of the final podman command, although be aware that stderr and stdout are combined. This is a quick-hack script intended for use in v2 testing, to test implemented commands without noise from unimplemented ones. Signed-off-by: Ed Santiago <santiago@redhat.com>