Hi Gao Xiang and linux-erofs team, The repository currently lacks any automated smoke or integration tests.
This patch adds a simple, self-contained bash script (tests/smoke.sh) that verifies the primary userspace workflow: - mkfs.erofs image creation (uncompressed) - fsck.erofs integrity check - erofsfuse FUSE mount - Basic content verification - Clean unmount and full cleanup Features: - Checks for required binaries upfront - Fails fast with clear error messages - Uses trap for cleanup on exit or failure - Tested locally on Debian-based Chromebook (Crostini) Happy to extend it (compressed variant, error cases, CI hooks, etc.) or adjust as needed. Patch attached. Thank you! Best regards, Aayushmaan Chakraborty GitHub: Aayushmaan-24
add-basic-smoke-test.patch
Description: Binary data
