summaryrefslogtreecommitdiff
path: root/test/apiv2/01-basic.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-01 09:12:07 -0400
committerGitHub <noreply@github.com>2020-08-01 09:12:07 -0400
commitaf2a1327d18f8f0eb50ad9b0f99a64f917ab730e (patch)
treeffab4872501129f41f015f9e5c40cec40dd9faae /test/apiv2/01-basic.at
parent0d064a0f29971632a58af3508a6f262d4ab16541 (diff)
parentcff727d488f2951d9c07056fb40d642d39c18f42 (diff)
downloadpodman-af2a1327d18f8f0eb50ad9b0f99a64f917ab730e.tar.gz
podman-af2a1327d18f8f0eb50ad9b0f99a64f917ab730e.tar.bz2
podman-af2a1327d18f8f0eb50ad9b0f99a64f917ab730e.zip
Merge pull request #7165 from jwhonce/issues/7008
Add versioned _ping endpoint
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 \