diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-04-11 19:19:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 19:19:23 -0700 |
commit | e197cb2ff4db0685cd77abf81d4913db51c6d08f (patch) | |
tree | e5245850d7f625d38ca245a1e76c8095de8e38d7 /test/system/helpers.bash | |
parent | e6fd4737ec80b0bbe5e299076e36f29cee112a0a (diff) | |
parent | 7220c166d42273c6e70c4a9df8cc0964987cd57b (diff) | |
download | podman-e197cb2ff4db0685cd77abf81d4913db51c6d08f.tar.gz podman-e197cb2ff4db0685cd77abf81d4913db51c6d08f.tar.bz2 podman-e197cb2ff4db0685cd77abf81d4913db51c6d08f.zip |
Merge pull request #2889 from edsantiago/bats
BATS tests: start supporting podman-remote
Diffstat (limited to 'test/system/helpers.bash')
-rw-r--r-- | test/system/helpers.bash | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/system/helpers.bash b/test/system/helpers.bash index 431228498..29ef19ecc 100644 --- a/test/system/helpers.bash +++ b/test/system/helpers.bash @@ -225,6 +225,16 @@ function skip_if_rootless() { skip "${1:-not applicable under rootless podman}" } +#################### +# skip_if_remote # ...with an optional message +#################### +function skip_if_remote() { + if [[ ! "$PODMAN" =~ -remote ]]; then + return + fi + + skip "${1:-test does not work with podman-remote}" +} ######### # die # Abort with helpful message |