Skip to content
Testaroo
txz716 B

TAR.XZ - XZ Tarball

A xz/LZMA-compressed tar of a small source tree, for testing tar extraction and the TXZ container. Member timestamps are fixed for reproducibility.

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

Specifications

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

Testing contract

Expected to pass
Scenario
Exercise TAR.XZ - XZ Tarball in its tarball workflow. A xz/LZMA-compressed tar of a small source tree, for testing tar extraction and the TXZ 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 .txz file?

TXZ is a shorthand extension for a TAR archive compressed with xz (LZMA2), equivalent to .tar.xz. The tar step bundles files, then xz compresses the stream at a high ratio with integrity checking. It is common for Linux packages and large software releases.

How to use this file

Use an example TXZ to test the decompress-then-untar pipeline with xz, and tooling that recognizes the abbreviated .txz extension.

How to use this file for testing

“TAR.XZ - XZ 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: xz/LZMA-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.txz       # list
tar -xf source-tree.txz -C out/  # extract

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