mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
support/testing/tests/init/test_systemd_selinux: new SELinuxSystemdSquashfs test
Add a test called 'SELinuxSystemdSquashfs' which will perform the same tests as the Ext4 version, but using a Squashfs filesystem. Thanks to this, we'll have a test on a real only filesystem. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
d466b9c0ff
commit
31901a5afd
@@ -255,6 +255,7 @@ F: package/gnuplot/
|
|||||||
|
|
||||||
N: Antoine Ténart <antoine.tenart@bootlin.com>
|
N: Antoine Ténart <antoine.tenart@bootlin.com>
|
||||||
F: package/wf111/
|
F: package/wf111/
|
||||||
|
F: support/testing/tests/init/test_systemd_selinux/
|
||||||
F: support/testing/tests/init/test_systemd_selinux.py
|
F: support/testing/tests/init/test_systemd_selinux.py
|
||||||
|
|
||||||
N: Antony Pavlov <antonynpavlov@gmail.com>
|
N: Antony Pavlov <antonynpavlov@gmail.com>
|
||||||
|
|||||||
@@ -60,3 +60,15 @@ class TestSELinuxSystemdExt4(TestSELinuxSystemd):
|
|||||||
|
|
||||||
def test_run(self):
|
def test_run(self):
|
||||||
self.run_tests("ext4")
|
self.run_tests("ext4")
|
||||||
|
|
||||||
|
class TestSELinuxSystemdSquashfs(TestSELinuxSystemd):
|
||||||
|
config = TestSELinuxSystemd.config + \
|
||||||
|
"""
|
||||||
|
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||||
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}"
|
||||||
|
""".format(
|
||||||
|
infra.filepath("tests/init/test_systemd_selinux/linux-squashfs.fragment"),
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
self.run_tests("squashfs")
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
CONFIG_SQUASHFS=y
|
||||||
Reference in New Issue
Block a user