summaryrefslogtreecommitdiff
path: root/test/apiv2/01-basic.at
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-07-30 08:16:14 -0700
committerJhon Honce <jhonce@redhat.com>2020-07-31 10:19:23 -0700
commitcff727d488f2951d9c07056fb40d642d39c18f42 (patch)
treee7f2d6dbe549f6c180b8d566641176e49f618435 /test/apiv2/01-basic.at
parent7a15be546adffe4f884abfbd4ed02f69ac7659e0 (diff)
downloadpodman-cff727d488f2951d9c07056fb40d642d39c18f42.tar.gz
podman-cff727d488f2951d9c07056fb40d642d39c18f42.tar.bz2
podman-cff727d488f2951d9c07056fb40d642d39c18f42.zip
Add versioned _ping endpoint
Fixes #7008 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test/apiv2/01-basic.at')
-rw-r--r--test/apiv2/01-basic.at8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/apiv2/01-basic.at b/test/apiv2/01-basic.at
index 79dac990a..96b6aef7c 100644
--- a/test/apiv2/01-basic.at
+++ b/test/apiv2/01-basic.at
@@ -5,9 +5,15 @@
# NOTE: paths with a leading slash will be interpreted as-is;
# paths without will have '/v1.40/' prepended.
-t GET /_ping 200 OK
+t GET /_ping 200 OK
t HEAD /_ping 200
t GET /libpod/_ping 200 OK
+t HEAD /libpod/_ping 200
+
+t GET _ping 200 OK
+t HEAD _ping 200
+t GET libpod/_ping 200 OK
+t HEAD libpod/_ping 200
for i in /version version; do
t GET $i 200 \