Bzip2 Test Files
Purpose: Test file collection for bzip2 validation Latest Version: 0.0.5-1
Overview
A collection of .bz2 files used to test bzip2 functionality. Files come from various projects and cover edge cases.
Directory Contents
Each test directory contains:
| File Type | Description |
|---|---|
README |
Source and license information |
*.bz2 |
Compressed files (should work) |
*.md5 |
Hash of original file |
*.bz2.bad |
Corrupt files (should fail) |
File Types
Good Files (.bz2)
Compressed files that should decompress correctly. Each has an .md5 file for verification.
Bad Files (.bz2.bad)
Deliberately corrupt files to test error handling. These should not decompress successfully.
Verification
Generate MD5
md5sum < file > file.md5
Verify MD5
md5sum --check file.md5 < file
Adding Test Files
Good Files
- Create the
.bz2file - Generate
.md5:md5sum < original > original.md5 - Add to appropriate directory
- Update README with source
Bad Files
- Create corrupt
.bz2file - Name with
.bz2.badextension - Document the corruption type
⚠️ Security Notice
Vulnerability Reporting
If you find a file that causes crashes, buffer overflows, or security issues:
- Do NOT share publicly
- Report confidentially to maintainers
- Allow 60-90 days for fix before disclosure
Credits
Test files contributed by:
- Apache Commons Compress
- DotNetZip Library
- Go Lang project
- lbzip2 project
- pyflate project
Thanks to Mark Wielaard for assembling the collection.
Related Documentation
- Bzip2 Overview — Main documentation
- Bzip2 Tests — Test suite
- Compiling — Build instructions
Was this handbook page helpful?
Last updated: February 19, 2026
Edit on GitHub