You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bash test/test_mkfs.sh # Test mkfs.hfs and mkfs.hfs+
bash test/test_fsck.sh # Test fsck.hfs and fsck.hfs+
bash test/test_hfsutils.sh # Test hfsutil commands
Test Coverage
test_mkfs.sh (5 tests)
HFS creation with valid signature (0x4244)
HFS+ creation with valid signature (0x482b)
Minimum sizes (800KB HFS, 10MB HFS+)
Custom size (-s option)
Journaling (-j option) with Linux warning
test_fsck.sh (2 tests)
Clean volume validation
Exit code correctness
test_hfsutils.sh (3 tests)
hformat command
hmount/humount
Version info
Requirements
Build complete: ./build.sh
Executables in build/standalone/
Linux/macOS with bash
Exit Codes
0 = All tests passed
1 = Test failed (filesystem is corrupt or command failed)