Skip to content
Testaroo
tbz2668 B

TAR.BZ2 - Bzip2 Tarball

A bzip2-compressed tar of a small source tree, for testing tar extraction and the TBZ2 container. Member timestamps are fixed for reproducibility.

Archive contents: 4 entriestbz2
  • README.txt
  • records.csv
  • config.json
  • notes.md

Specifications

Format
bzip2-compressed tar
Members
4
Tar Format
USTAR
Structure
data/ and docs/ subfolders

Testing contract

Expected to pass
Scenario
Exercise TAR.BZ2 - Bzip2 Tarball in its tarball workflow. A bzip2-compressed tar of a small source tree, for testing tar extraction and the TBZ2 container.
Expected result
4 archive members; 715 uncompressed file bytes; member paths: README.txt, data/records.csv, data/config.json, docs/notes.md. Declared feature checks: members=4; tarFormat=USTAR; structure=data/ and docs/ subfolders.

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

“TAR.BZ2 - Bzip2 Tarball” is a deterministic Testaroo fixture for Conversion 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: bzip2-compressed tar · data/ and docs/ subfolders. 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 source-tree.tbz2       # list
tar -xf source-tree.tbz2 -C out/  # extract

Generated by generation/archives.py. Free for any use, no attribution required, license.