summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-01 08:27:47 +0100
committerGitHub <noreply@github.com>2021-03-01 08:27:47 +0100
commitb154c519ace790f4e0ada60b6e0c6985cf213acb (patch)
treea367e88844db540f67a5e3f30b11b2905554699a /test
parent3417703a063cc71de60752836daf2ffec158d2f6 (diff)
parentfcce1da1bbeae708961f3002540fbd04b46e5f40 (diff)
downloadpodman-b154c519ace790f4e0ada60b6e0c6985cf213acb.tar.gz
podman-b154c519ace790f4e0ada60b6e0c6985cf213acb.tar.bz2
podman-b154c519ace790f4e0ada60b6e0c6985cf213acb.zip
Merge pull request #9509 from mlegenovic/master
Correct compat images/create?fromImage response
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