summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMilivoje Legenovic <m.legenovic@gmail.com>2021-02-25 00:42:06 +0100
committerMilivoje Legenovic <m.legenovic@gmail.com>2021-02-26 03:08:10 +0100
commitfcce1da1bbeae708961f3002540fbd04b46e5f40 (patch)
tree488a33dfa208676cfea444ace7b6eadcde37ca79 /test
parent25d81955ec959d0cfa2958edba0935d1257dd787 (diff)
downloadpodman-fcce1da1bbeae708961f3002540fbd04b46e5f40.tar.gz
podman-fcce1da1bbeae708961f3002540fbd04b46e5f40.tar.bz2
podman-fcce1da1bbeae708961f3002540fbd04b46e5f40.zip
Correct compat images/create?fromImage response
Signed-off-by: Milivoje Legenovic <m.legenovic@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/10-images.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at
index a650cf958..f866422e2 100644
--- a/test/apiv2/10-images.at
+++ b/test/apiv2/10-images.at
@@ -41,7 +41,7 @@ t GET images/$iid/json 200 \
.Id=sha256:$iid \
.RepoTags[0]=$IMAGE
-t POST "images/create?fromImage=alpine" '' 200 .error=null .status~".*Download complete.*"
+t POST "images/create?fromImage=alpine" '' 200 .error~null .status~".*Download complete.*"
t POST "images/create?fromImage=alpine&tag=latest" '' 200
@@ -49,7 +49,7 @@ t POST "images/create?fromImage=alpine&tag=latest" '' 200
old_iid=$(podman image inspect --format "{{.ID}}" docker.io/library/alpine:latest)
podman rmi -f docker.io/library/alpine:latest
podman tag $IMAGE docker.io/library/alpine:latest
-t POST "images/create?fromImage=alpine" '' 200 .error=null .status~".*$old_iid.*"
+t POST "images/create?fromImage=alpine" '' 200 .error~null .status~".*$old_iid.*"
podman untag $IMAGE docker.io/library/alpine:latest
t POST "images/create?fromImage=quay.io/libpod/alpine&tag=sha256:fa93b01658e3a5a1686dc3ae55f170d8de487006fb53a28efcd12ab0710a2e5f" '' 200