diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-03-30 04:42:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 04:42:37 +0000 |
commit | 5eb59509be5862da75715a07602b64dedd65899e (patch) | |
tree | 4faa4ff556a3f3ee2cf0ad48c2cfc39ab746f52f /test/apiv2/01-basic.at | |
parent | 4fe1ce154f364932129fb6d53c9dbe5b374ed38d (diff) | |
parent | c03ff140d87a3bc210c8a6568c8091d8bde7aa50 (diff) | |
download | podman-5eb59509be5862da75715a07602b64dedd65899e.tar.gz podman-5eb59509be5862da75715a07602b64dedd65899e.tar.bz2 podman-5eb59509be5862da75715a07602b64dedd65899e.zip |
Merge pull request #9876 from edsantiago/apiv2_relax_versioncheck
APIv2 basic test: relax APIVersion check
Diffstat (limited to 'test/apiv2/01-basic.at')
-rw-r--r-- | test/apiv2/01-basic.at | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/apiv2/01-basic.at b/test/apiv2/01-basic.at index a256d8327..64aafa013 100644 --- a/test/apiv2/01-basic.at +++ b/test/apiv2/01-basic.at @@ -16,13 +16,13 @@ t GET libpod/_ping 200 OK t HEAD libpod/_ping 200 for i in /version version; do - t GET $i 200 \ - .Components[0].Name="Podman Engine" \ - .Components[0].Details.APIVersion=3.2.0-dev \ - .Components[0].Details.MinAPIVersion=3.1.0 \ - .Components[0].Details.Os=linux \ - .ApiVersion=1.40 \ - .MinAPIVersion=1.24 \ + t GET $i 200 \ + .Components[0].Name="Podman Engine" \ + .Components[0].Details.APIVersion~3[0-9.-]\\+ \ + .Components[0].Details.MinAPIVersion=3.1.0 \ + .Components[0].Details.Os=linux \ + .ApiVersion=1.40 \ + .MinAPIVersion=1.24 \ .Os=linux done |