support/testing/tests/core/test_selinux: new tests for the packages SELinux functiona...
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 28 Sep 2020 14:54:24 +0000 (16:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 6 Oct 2020 13:30:12 +0000 (15:30 +0200)
commit751b660c1f2ea4419a9290231f075b3e94f44089
treed5452dc147cc8ddd661131b60b29a17e9ca229f9
parent0f3b931624f9a233369489a5b025b6159395d8c0
support/testing/tests/core/test_selinux: new tests for the packages SELinux functionalities

Add tests to ensure the packages SELinux functionalities (being able to
select an extra SELinux module in the refpolicy, and being able to
provide a custom SELinux module) are working as expected.

We use a BR2_EXTERNAL folder, provided in the tests, to use a custom
SELinux enabled package.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/testing/tests/core/test_selinux.py
support/testing/tests/core/test_selinux/br2_external/Config.in [new file with mode: 0644]
support/testing/tests/core/test_selinux/br2_external/external.desc [new file with mode: 0644]
support/testing/tests/core/test_selinux/br2_external/external.mk [new file with mode: 0644]
support/testing/tests/core/test_selinux/br2_external/package/selinux-test/Config.in [new file with mode: 0644]
support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux-test.mk [new file with mode: 0644]
support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.fc [new file with mode: 0644]
support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.if [new file with mode: 0644]
support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.te [new file with mode: 0644]