Files
kata-containers/tests
Cole Robinson 0f4eac434b tests: Skip initrd/image launch if KATA_DEV_MODE
The script points kata-runtime at the generated initrd/image by
editing the host config file, which we aren't doing when
KATA_DEV_MODE=1 is set, so this won't work.

Fixes: #415

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-03-02 18:09:57 -05:00
..
2019-06-13 10:04:28 +01:00

Run the osbuilder tests

osbuilder provides a test script that creates all rootfs disk images and initrd images for all supported distributions and then tests them to ensure a Kata Container can be created with each.

Before the build phase, the test script installs the Docker container manager and all the Kata components required to run test containers. This step can be skipped by setting the environment variable KATA_DEV_MODE to a non-empty value.

$ ./test_images.sh

Further information

The test script provides various options to modify the way it runs. For full details:

$ ./test_images.sh -h