podman/test/compose/cdi_device
Paul Holzinger 9f422e1a77
test/compose: use cdi option over mount
So that we don't have to overwrite a system dir and also can test
rootless.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-03-31 14:58:56 +02:00
..
README.md pkg/api: honor cdi devices from the hostconfig 2025-01-31 15:26:09 +01:00
device.json pkg/api: honor cdi devices from the hostconfig 2025-01-31 15:26:09 +01:00
docker-compose.yml pkg/api: honor cdi devices from the hostconfig 2025-01-31 15:26:09 +01:00
setup.sh test/compose: use cdi option over mount 2025-03-31 14:58:56 +02:00
tests.sh pkg/api: honor cdi devices from the hostconfig 2025-01-31 15:26:09 +01:00

README.md

cdi devices

This test copies a CDI device file on a tmpfs mounted on /etc/cdi, then checks that the CDI device in the compose file is present in a container. The test is skipped when running as rootless.

Validation

  • The CDI device is present in the container.