tests/puzzlefs: add a ktest for PuzzleFS
PATCH 1/1 tests/puzzlefs: add a ktest for PuzzleFS
From: Ariel Miculas <[email protected]>
This test builds a PuzzleFS image using the PuzzleFS user space tools, builds a Linux kernel with PuzzleFS enabled, mounts the PuzzleFS image using the kernel driver and then compares the two filesystems: the source filesystem used when building the PuzzleFS image and the final PuzzleFS filesystem mounted directly from the PuzzleFS image.
This test is similar to the build_from_ext4 test in single_device.ktest.
Two packages are added to the root_image: capnproto required for building the PuzzleFS user space tools and jq, which is used for extracting the PuzzleFS image manifest from index.json.
Signed-off-by Ariel Miculas <[email protected]>
--- root_image | 3 ++ tests/puzzlefs/puzzlefs.ktest | 94 +++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100755 tests/puzzlefs/puzzlefs.ktest
root_image +3 -0
@@ -117,6 +117,9 @@ PACKAGES+=(cryptsetup) # weird block layer crap PACKAGES+=(multipath-tools sg3-utils srptools) +# PuzzleFS support +PACKAGES+=(capnproto jq) + # ZFS support #PACKAGES+=("linux-headers-generic" dkms zfsutils-linux zfs-dkms)
tests/puzzlefs/puzzlefs.ktest new file +94 -0
94 lines not on this page · raw message
Signature · 1 line
2.34.1