summaryrefslogtreecommitdiff
path: root/test/apiv2/20-containers.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-01 11:23:30 -0400
committerGitHub <noreply@github.com>2022-04-01 11:23:30 -0400
commit35348a3e87c23223b6f0aa94127d3f35a95eb676 (patch)
tree6442be44b0dfbcc2412efb961f87de82497f59fe /test/apiv2/20-containers.at
parent0a839a59ec43ae03c522a1b82224605219256ab1 (diff)
parentd30a1e9d087db9efd287e707eb41b88bfafad822 (diff)
downloadpodman-35348a3e87c23223b6f0aa94127d3f35a95eb676.tar.gz
podman-35348a3e87c23223b6f0aa94127d3f35a95eb676.tar.bz2
podman-35348a3e87c23223b6f0aa94127d3f35a95eb676.zip
Merge pull request #13721 from mheon/bump_403
Backports and release notes for v4.0.3
Diffstat (limited to 'test/apiv2/20-containers.at')
-rw-r--r--test/apiv2/20-containers.at3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index cc5eda88e..49f8fb3fc 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -394,7 +394,8 @@ t GET containers/$cid/json 200 \
.Config.Healthcheck.Retries=3
# compat api: Test for mount options support
-payload='{"Mounts":[{"Type":"tmpfs","Target":"/mnt/scratch","TmpfsOptions":{"SizeBytes":1024,"Mode":755}}]}'
+# Sigh, JSON can't handle octal. 0755(octal) = 493(decimal)
+payload='{"Mounts":[{"Type":"tmpfs","Target":"/mnt/scratch","TmpfsOptions":{"SizeBytes":1024,"Mode":493}}]}'
t POST containers/create Image=$IMAGE HostConfig="$payload" 201 .Id~[0-9a-f]\\{64\\}
cid=$(jq -r '.Id' <<<"$output")
t GET containers/$cid/json 200 \