support/testing: add lxc test
authorPatrick Havelange <patrick.havelange@essensium.com>
Wed, 20 Nov 2019 13:39:52 +0000 (14:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 20 Nov 2019 21:38:25 +0000 (22:38 +0100)
commit1ca16b1feb6c52c98e8b3082c2a36503017b3c10
tree7f320e564a9235e54070dad34b46da61e765d7e2
parent63966e56a3cd83df36c6357be9e48608e95dac54
support/testing: add lxc test

The test starts a simple container with an iperf3 server.
The container is using the tini init system, with a shared rootfs.
An iperf3 client is started from the host to check that the container
is really up and running.

Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
.gitlab-ci.yml
DEVELOPERS
support/testing/tests/package/test_lxc.py [new file with mode: 0644]
support/testing/tests/package/test_lxc/lxc-kernel.config [new file with mode: 0644]
support/testing/tests/package/test_lxc/rootfs-overlay/usr/bin/iperf3.sh [new file with mode: 0755]
support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal-iperf3.conf [new file with mode: 0644]
support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal.conf [new file with mode: 0644]