nicholasbishop / ext4-view-rs

Rust library for reading ext2/ext4 filesystems
https://crates.io/crates/ext4-view
Apache License 2.0
8 stars 2 forks source link

xtask: Check properties of the test disk #81

Closed nicholasbishop closed 4 months ago

nicholasbishop commented 4 months ago

The initial check added here verifies the htree depth of /big_dir. In the future we'll want to test directories with different htree depths, and this allows us to be sure that the filesystem data has the desired properties.

Tweaked create_test_data so that the checks always run, even if the disk already exists.

TEST=cargo xtask create-test-data succeeds