Files
kata-containers/tests
Cole Robinson 17a8fb13a1 tests: Skip all kata-manager usage if KATA_DEV_MODE is set
kata-manager.sh makes host config changes. KATA_DEV_MODE is meant to
avoid such changes.

Add a helper run_mgr function which stubs out kata-manager.sh usage
if KATA_DEV_MODE is set.

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