diff --git a/tests/fs/overlayfs.toml b/tests/fs/overlayfs.toml new file mode 100644 index 00000000..be882ab8 --- /dev/null +++ b/tests/fs/overlayfs.toml @@ -0,0 +1,6 @@ +# Overlayfs test +modules = [ "ugrd.base.test", "ugrd.fs.overlayfs"] + +out_dir = "initramfs_test" +cpio_compression = false +autodetect_root_dm = false diff --git a/tests/test_filesystems.py b/tests/test_filesystems.py index 7c23814b..7952081e 100644 --- a/tests/test_filesystems.py +++ b/tests/test_filesystems.py @@ -18,6 +18,9 @@ def test_xfs(self): generator = InitramfsGenerator(logger=self.logger, config="tests/fs/xfs.toml") generator.build() + def test_overlayfs(self): + generator = InitramfsGenerator(logger=self.logger, config="tests/fs/overlayfs.toml") + generator.build() if __name__ == "__main__": main()