TBZ2 - Empty Archive
The empty tar under bzip2. Its payload is 1024 identical bytes, which is the run-length case bzip2's block sorter treats specially, so this doubles as the smallest sane bzip2 stream to test a decoder against.
| structurestring | valuestring |
|---|---|
| container | TAR + bzip2 |
| members | 0 |
| compressed size | 42 bytes |
| uncompressed size | 1024 bytes |
| end-of-archive blocks | 2 x 512 bytes of zeros |
Specifications
- Seed
- 20260807
- Members
- 0
- File Bytes
- 42
- Uncompressed Bytes
- 1024
- Codec
- bzip2
- Note
- bzip2 of 1024 zero bytes - a run-length case its block sorter handles specially
Testing contract
Expected to pass- Scenario
- Decompress the bzip2 stream, then list the tar inside it.
- Expected result
- The bzip2 layer decodes its single run-length block to exactly 1024 bytes of zeros and the tar listing reports 0 members with no error.
What is a .tbz2 file?
TBZ2 is a shorthand extension for a TAR archive compressed with bzip2, equivalent to .tar.bz2. The tar step bundles files and metadata, then bzip2 compresses the combined stream for a higher ratio. It is used for distributing larger source and data archives.
How to use this file
Use an example TBZ2 to test the decompress-then-untar pipeline with bzip2, and tools that recognize the abbreviated .tbz2 extension.
How to use this file for testing
“TBZ2 - Empty Archive” is a deterministic Testaroo fixture for Conversion testing, Error handling, Compression testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.
Documented properties for this file: seed 20260807. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.
Archive fixtures are documented down to their member list (shown on this page) and are deliberately safe, no zip bombs, executables, or hidden payloads. Test extractors against nested, unicode, empty, and encrypted variants.
Code examples
tar -tf empty.tbz2 # list
tar -xf empty.tbz2 -C out/ # extractGenerated by generation/archives_p7.py. Free for any use, no attribution required, license.
Related files
- zipConvert v2 Archive-Media ZIP ControlExisting-format ZIP/TXT media control combining a plain README and a WebVTT sidecar for nested media extraction checks Stable P8 artifact p8-convert-legacy-archive-media-control.

- cabConvert v2 CAB Stored ControlValid single-file Microsoft Cabinet using uncompressed CFDATA for bounded legacy extraction tests Stable P8 artifact p8-convert-legacy-cab.

- tar.bz2Convert v2 Canonical TAR.BZ2Canonical compound-suffix source for the same deterministic bzip2-compressed TAR member set Stable P8 artifact p8-convert-tar-bz2.

- tar.xzConvert v2 Canonical TAR.XZCanonical compound-suffix source for the same deterministic XZ-compressed TAR member set Stable P8 artifact p8-convert-tar-xz.

- rarConvert v2 RAR4 Stored ControlValid RAR4 archive with two stored members and fixed metadata for legacy extraction tests Stable P8 artifact p8-convert-legacy-rar.

- tar.zstConvert v2 TAR.ZST Source 01Valid Zstandard-compressed TAR source 01 with 2 safe members for compound-suffix detection and extraction Stable P8 artifact p8-convert-tar-zst-01.
