Skip to content

Commit

Permalink
Merge pull request #104 from desultory/dev
Browse files Browse the repository at this point in the history
add overlayfs test
  • Loading branch information
desultory authored Oct 31, 2024
2 parents b4b8c39 + de0097e commit 119cbca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/fs/overlayfs.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Overlayfs test
modules = [ "ugrd.base.test", "ugrd.fs.overlayfs"]

out_dir = "initramfs_test"
cpio_compression = false
autodetect_root_dm = false
3 changes: 3 additions & 0 deletions tests/test_filesystems.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 119cbca

Please sign in to comment.