diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at index 3a1f386ac1..d64e8bcacc 100644 --- a/test/apiv2/20-containers.at +++ b/test/apiv2/20-containers.at @@ -645,7 +645,8 @@ cat >$HEALTHCHECK_INHERIT_TMPD/Dockerfile </dev/null +# HEALTHCHECK is only recorded in the docker image format, the oci default drops it +podman build --format docker -t healthcheck_inherit $HEALTHCHECK_INHERIT_TMPD &>/dev/null # empty Test inherits the image healthcheck unchanged (all fields preserved) t POST containers/create Image=healthcheck_inherit Cmd='["top"]' Healthcheck='{"Test":[]}' 201 \