diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-04 15:03:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 15:03:40 +0200 |
commit | 650ed437a8abac4d0a67b1b6e17239cb1eea2477 (patch) | |
tree | 88ecafe4ea602b787ff3eff7ed36211f68ca0719 /test/apiv2/20-containers.at | |
parent | c133e55afc7d5c44a65c4021bf206b65073422a5 (diff) | |
parent | 2d5a2a7640d0f320d391a2fcc6a4bd0eb03b9f9f (diff) | |
download | podman-650ed437a8abac4d0a67b1b6e17239cb1eea2477.tar.gz podman-650ed437a8abac4d0a67b1b6e17239cb1eea2477.tar.bz2 podman-650ed437a8abac4d0a67b1b6e17239cb1eea2477.zip |
Merge pull request #6489 from edsantiago/bats
BATS and APIv2: more tests and tweaks
Diffstat (limited to 'test/apiv2/20-containers.at')
-rw-r--r-- | test/apiv2/20-containers.at | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at index 8b535928a..60f6d97aa 100644 --- a/test/apiv2/20-containers.at +++ b/test/apiv2/20-containers.at @@ -19,7 +19,7 @@ t GET libpod/containers/json 200 length=0 t GET libpod/containers/json?all=true 200 \ length=1 \ - .[0].Id~[0-9a-f]\\{12\\} \ + .[0].Id~[0-9a-f]\\{64\\} \ .[0].Image=$IMAGE \ .[0].Command[0]="true" \ .[0].State~\\\(exited\\\|stopped\\\) \ @@ -33,7 +33,7 @@ t DELETE libpod/containers/$cid 204 CNAME=myfoo podman run --name $CNAME $IMAGE -td top t GET libpod/containers/json?all=true 200 \ - .[0].Id~[0-9a-f]\\{12\\} + .[0].Id~[0-9a-f]\\{64\\} cid=$(jq -r '.[0].Id' <<<"$output") # No such container @@ -45,7 +45,7 @@ t POST "libpod/commit?container=$CNAME&$cparam" '' 500 # Commit a new image from the container t POST "libpod/commit?container=$CNAME" '' 200 \ - .Id~[0-9a-f]\\{12\\} + .Id~[0-9a-f]\\{64\\} iid=$(jq -r '.Id' <<<"$output") t GET libpod/images/$iid/json 200 \ .RepoTags[0]=null \ |