mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-02 07:02:16 +00:00
The empty-image test expects pod creation to fail. With an EROFS snapshot that has a disk-backed rwlayer, runtime-rs can still reject that pod with the existing unsupported mount-count error. With default_size=0, there is no rwlayer mount. The same negative test can instead reach the bind rootfs shape produced for the empty active snapshot, which runtime-rs rejects as an unsupported rootfs mount. Accept both messages so the test covers the expected failure for both EROFS rwlayer modes. Assisted-by: OpenAI Codex <codex@openai.com> Signed-off-by: Manuel Huber <manuelh@nvidia.com>