libzstd Validation
Port build from safelibs/port-libzstd at commit 699374bc712a (release build-699374bc712a)
Tests
zstd corrupted frame rejection Original / libzstd / corrupted-frame-rejection Passed
zstd dictionary train use Original / libzstd / dictionary-train-use Passed
zstd multi frame behavior Original / libzstd / multi-frame-behavior Passed
libzstd streaming C API smoke Original / libzstd / streaming-c-api-smoke Passed
zstd command round trip Original / libzstd / zstd-compress-decompress Passed
bsdtar zstd uncompressed-then-compressed pipeline Original / libzstd / usage-libarchive-tools-r9-bsdtar-append-mode Passed
Builds a plain tar, then re-encodes through zstd via bsdtar --zstd to produce a zstd-compressed tar, and verifies the resulting archive lists the original member.
bsdtar zstd extract --keep-newer-files Original / libzstd / usage-libarchive-tools-r9-bsdtar-cwd-keep-newer Passed
Extracts a zstd archive over a directory containing a newer copy of a member and asserts --keep-newer-files leaves the existing newer file untouched while extracting the missing one.
bsdtar zstd preserves hardlink relationship Original / libzstd / usage-libarchive-tools-r9-bsdtar-hardlink-roundtrip Passed
Creates a file and a hardlink, archives both into a zstd tar, extracts and asserts the extracted pair shares the same inode (or content) and links count is at least two.
bsdtar zstd extract include glob filter Original / libzstd / usage-libarchive-tools-r9-bsdtar-include-glob Passed
Builds a zstd archive with mixed file extensions and extracts only *.log entries via --include='*.log', verifying matching files are present and other files are absent.
bsdtar zstd numeric-owner listing Original / libzstd / usage-libarchive-tools-r9-bsdtar-numeric-owner Passed
Lists a zstd-compressed archive with --numeric-owner and verifies the owner column contains an integer (uid) rather than a name.
bsdtar zstd writes pax-format archive Original / libzstd / usage-libarchive-tools-r9-bsdtar-pax-format Passed
Creates a zstd-compressed tar in pax format with bsdtar --format=pax and verifies bsdtar -tvf can list the member.
bsdtar zstd archive piped from stdin file list Original / libzstd / usage-libarchive-tools-r9-bsdtar-stdin-pipe-create Passed
Pipes filenames into bsdtar via -T - to build a zstd-compressed archive, then extracts and verifies both files appear in the output directory.
bsdtar zstd extract --strip-components Original / libzstd / usage-libarchive-tools-r9-bsdtar-strip-components Passed
Archives a nested directory tree with bsdtar --zstd and extracts with --strip-components=1, asserting the top-level prefix is removed in the output.
bsdtar zstd preserves a symlink across roundtrip Original / libzstd / usage-libarchive-tools-r9-bsdtar-symlink-restore Passed
Archives a directory containing a symlink with bsdtar --zstd, extracts it elsewhere, and asserts the extracted symlink still points to its original target.
bsdtar zstd --totals reports byte count Original / libzstd / usage-libarchive-tools-r9-bsdtar-totals-stderr Passed
Creates a zstd-compressed archive with --totals and verifies bsdtar prints a 'Total bytes' summary line to stderr containing a digit count.
libarchive-tools zstd extract in cwd Original / libzstd / usage-libarchive-tools-zstd-batch10-cwd-extract Passed
Extracts a zstd archive from the current working directory without -C and verifies the file lands relative to cwd.
libarchive-tools zstd deep nested extract Original / libzstd / usage-libarchive-tools-zstd-batch10-deep-nested-extract Passed
Round-trips a five-level nested file through a zstd tar and verifies the leaf path and payload survive extraction.
libarchive-tools zstd multiple exclude patterns Original / libzstd / usage-libarchive-tools-zstd-batch10-exclude-multi Passed
Builds a zstd tar with two --exclude patterns and verifies only the unmatched member appears in the listing.
libarchive-tools zstd extract two members to stdout Original / libzstd / usage-libarchive-tools-zstd-batch10-extract-multi-stdout Passed
Uses bsdtar -xOf to print two named members from a zstd archive and verifies both payloads appear on stdout.
libarchive-tools zstd extract from stdin pipe Original / libzstd / usage-libarchive-tools-zstd-batch10-extract-stdin-piped Passed
Pipes a zstd archive into bsdtar -xf - via redirection and verifies a deeply nested member is extracted with its payload.
libarchive-tools zstd mixed listing exact count Original / libzstd / usage-libarchive-tools-zstd-batch10-mixed-format-list Passed
Adds three members including a spaced filename to a zstd tar and verifies the listing reports exactly three entries.
libarchive-tools zstd two archives separately Original / libzstd / usage-libarchive-tools-zstd-batch10-multi-archive-list Passed
libarchive-tools zstd nested member checksum Original / libzstd / usage-libarchive-tools-zstd-batch10-roundtrip-checksum Passed
Round-trips a nested file through a zstd tar archive and verifies the SHA-256 of the extracted file matches the source.
libarchive-tools zstd archive to stdout Original / libzstd / usage-libarchive-tools-zstd-batch10-stream-stdout-archive Passed
Streams a zstd-compressed tar to stdout via bsdtar -cf - then lists the resulting archive and verifies both members appear.
libarchive-tools zstd extract with explicit --zstd Original / libzstd / usage-libarchive-tools-zstd-batch10-zstd-decompress-flag Passed
Extracts a zstd archive while passing --zstd to bsdtar -xf and verifies the restored file payload.
bsdtar zstd empty directory Original / libzstd / usage-libarchive-tools-zstd-batch11-empty-directory Passed
bsdtar zstd exclude VCS Original / libzstd / usage-libarchive-tools-zstd-batch11-exclude-vcs Passed
bsdtar zstd file list create Original / libzstd / usage-libarchive-tools-zstd-batch11-filelist-create Passed
bsdtar zstd mode preserved Original / libzstd / usage-libarchive-tools-zstd-batch11-mode-preserved Passed
bsdtar zstd mtime preserved Original / libzstd / usage-libarchive-tools-zstd-batch11-mtime-preserved Passed
bsdtar zstd newer mtime filter Original / libzstd / usage-libarchive-tools-zstd-batch11-newer-mtime Passed
bsdtar zstd null file list Original / libzstd / usage-libarchive-tools-zstd-batch11-null-filelist Passed
bsdtar zstd owner labels Original / libzstd / usage-libarchive-tools-zstd-batch11-owner-labels Passed
Writes custom owner labels into a zstd-compressed tar archive and verifies verbose listing output.
bsdtar zstd transform name Original / libzstd / usage-libarchive-tools-zstd-batch11-transform-name Passed
bsdtar zstd ustar format Original / libzstd / usage-libarchive-tools-zstd-batch11-ustar-format Passed
bsdcpio zstd-filtered cpio archive round-trip Original / libzstd / usage-libarchive-tools-zstd-batch12-bsdcpio-zstd-roundtrip Passed
Builds a cpio archive with bsdcpio piping through the zstd filter via --zstd, verifies the .cpio.zst frame magic, then extracts the archive and asserts the payload sha256 matches the original.
zstd CLI --long=20 round-trip Original / libzstd / usage-libarchive-tools-zstd-batch12-cli-block-size-2m Passed
Compresses a payload with the standalone zstd CLI using --long=20 to enlarge the long-range matcher window to 1 MiB, verifies the .zst frame magic, and decompresses it back through bsdcat to confirm the bytes match.
bsdtar zstd full byte range round-trip Original / libzstd / usage-libarchive-tools-zstd-batch12-full-byte-range-roundtrip Passed
Round-trips a binary file containing every value 0x00 through 0xFF in a fixed permutation through bsdtar --zstd and asserts the sha256 hash matches after extraction, exercising raw byte preservation across the zstd filter.
bsdtar zstd positional include with --exclude exclusion Original / libzstd / usage-libarchive-tools-zstd-batch12-include-exclude-pair Passed
Lists a zstd-compressed tar passing a positional name pattern as the member filter and --exclude to subtract one match, asserting only the included-but-not-excluded member surfaces.
bsdtar zstd -t lists members without emitting content Original / libzstd / usage-libarchive-tools-zstd-batch12-list-o-no-stdout Passed
Lists a zstd-compressed tar with bsdtar -tf and asserts the listing prints the member name on stdout while never leaking the archived payload bytes onto stdout.
zstd CLI decompresses a concatenated multi-frame stream Original / libzstd / usage-libarchive-tools-zstd-batch12-multi-frame-concat Passed
Compresses two separate tar archives with --zstd, concatenates the resulting .tar.zst files with cat to form a single multi-frame zstd stream, decompresses the combined stream with the zstd CLI (which transparently decodes consecutive frames) into a concatenated tar, and verifies bsdtar lists members from both frames in that decoded tar.
bsdtar zstd -p preserves a non-default file mode Original / libzstd / usage-libarchive-tools-zstd-batch12-no-same-permissions Passed
Archives a 0644 file into a zstd-compressed tar, extracts it with bsdtar -p (--same-permissions) under a restrictive umask, and verifies the explicit mode bits stored in the archive override the umask so the extracted file matches the saved 0644 mode rather than being clamped down to the umask-implied default.
bsdtar zstd uid 0 / gid 0 records root labels Original / libzstd / usage-libarchive-tools-zstd-batch12-owner-root-zero Passed
Creates a zstd-compressed tar with --uid 0, --gid 0, --uname root, --gname root and asserts that bsdtar -tvf reports the entry with root/root labels.
bsdtar zstd --to-stdout extracts member contents to stdout Original / libzstd / usage-libarchive-tools-zstd-batch12-to-stdout-flag Passed
Extracts a single member from a zstd-compressed tar using bsdtar's GNU-compatible --to-stdout flag and verifies the payload reaches stdout while the on-disk extraction directory stays empty.
bsdtar zstd compression-level round-trip Original / libzstd / usage-libarchive-tools-zstd-batch12-window-log-20 Passed
Creates a zstd-compressed tar with --options 'zstd:compression-level=20' to drive the encoder at a high level, verifies the frame magic, and confirms a sha256 round-trip through extraction.
bsdtar zstd binary file sha256 round-trip Original / libzstd / usage-libarchive-tools-zstd-binary-sha256-roundtrip Passed
Round-trips a binary file with non-printable bytes through bsdtar --zstd and asserts the sha256 hash matches the original.
bsdcat reads zstd-compressed tar Original / libzstd / usage-libarchive-tools-zstd-bsdcat-frame-decompress Passed
Compresses a tar with bsdtar --zstd then streams it through bsdcat and verifies a known member payload appears in the output.
bsdcpio odc format with zstd-compressed wrapper Original / libzstd / usage-libarchive-tools-zstd-bsdcpio-odc-format Passed
Creates a cpio archive in the odc (POSIX.1) format with bsdcpio, compresses it with the standalone zstd CLI (the bsdcpio --zstd output filter is known to silently drop the trailing frame), then extracts the archive and asserts the payload round-trips by sha256.
bsdtar -caf auto-selects zstd from .tar.zst suffix Original / libzstd / usage-libarchive-tools-zstd-bsdtar-caf-auto-roundtrip Passed
Builds a tree, asks bsdtar to create an archive with -caf and a .tar.zst suffix so the auto-compress path picks the libarchive zstd writer, asserts the zstd frame magic, lists members, and round-trips to a sha256-identical extract.
bsdtar zstd compression-level=15 round-trip Original / libzstd / usage-libarchive-tools-zstd-bsdtar-compression-level-15 Passed
Creates a zstd-compressed tar via bsdtar with --options 'zstd:compression-level=15' to drive the encoder at a high mid-tier level, verifies the archive's zstd frame magic, and confirms a sha256 round-trip after extraction.
bsdtar zstd compression-level=7 mid-tier Original / libzstd / usage-libarchive-tools-zstd-bsdtar-compression-level-7 Passed
Creates a zstd-compressed tar with bsdtar --options 'zstd:compression-level=7' to exercise the mid-tier libarchive level wiring, asserts the output carries the zstd magic, lists cleanly, and extracts to a sha256-identical copy of the source payload.
bsdtar zstd extract from /dev/stdin path Original / libzstd / usage-libarchive-tools-zstd-bsdtar-dev-stdin-extract Passed
Pipes a zstd-compressed tar into bsdtar with the archive path written explicitly as /dev/stdin (rather than the bare '-' alias) and verifies that the extracted tree round-trips by sha256, exercising libarchive's auto-detection of the zstd filter on a stdin-backed character device.
bsdtar --zstd archives a fifo entry Original / libzstd / usage-libarchive-tools-zstd-bsdtar-fifo-entry Passed
Creates a named pipe (fifo) plus a regular file, archives them with bsdtar --zstd, extracts into a clean directory, and asserts the extracted entry is still a fifo (per stat -c %F) and the regular sibling round-trips by sha256.
bsdtar --zstd preserves hardlink linkage Original / libzstd / usage-libarchive-tools-zstd-bsdtar-hardlink-preservation Passed
Builds a tree with a hardlinked file pair, archives it with bsdtar --zstd, extracts to a fresh directory, and asserts the extracted pair shares an inode (libarchive recreated the hardlink) and both files contain the original payload.
bsdtar --zstd over a 50-file directory tree Original / libzstd / usage-libarchive-tools-zstd-bsdtar-large-directory-50-files Passed
Builds a directory of 50 distinct text files, archives the whole tree with bsdtar --zstd, extracts it into a fresh location, and asserts every member round-trips with matching sha256.
bsdtar --zstd round-trips a long filename Original / libzstd / usage-libarchive-tools-zstd-bsdtar-long-filename Passed
Creates a file whose basename is well over the legacy 100-byte ustar name field limit (but still under ext4's 255-byte filename limit, so the source file can actually be created on disk), archives it with bsdtar --zstd (which falls back to the pax format for long names), extracts into a clean directory, and asserts the extracted basename and payload sha256 match the source.
bsdtar zstd:compression-level=22 max-tier round-trip Original / libzstd / usage-libarchive-tools-zstd-bsdtar-options-level-22 Passed
Creates a zstd-compressed tar with bsdtar --options 'zstd:compression-level=22' to drive the libarchive zstd encoder at the maximum ultra level, asserts the resulting archive carries the zstd frame magic, lists cleanly, extracts byte-for-byte, and is no larger than a default-level archive of the same payload.
bsdtar zstd:threads=2 multi-worker create Original / libzstd / usage-libarchive-tools-zstd-bsdtar-options-threads-2 Passed
Creates a zstd-compressed tar with bsdtar --options 'zstd:threads=2' to drive the libarchive zstd writer with two worker threads, asserts the output carries the zstd magic, lists cleanly, and extracts to a sha256-identical copy of the source tree.
bsdtar plain tar piped through zstd CLI then back Original / libzstd / usage-libarchive-tools-zstd-bsdtar-pipe-zstd-cli Passed
Exercises the cross-tool pipeline that uses bsdtar to write a plain tar to stdout, the zstd CLI to compress that stream into a .tar.zst, and bsdtar again to list and extract the result so the libarchive reader and the zstd CLI compressor are validated together with a sha256 round-trip.
bsdtar zstd round-trip with a sparse file Original / libzstd / usage-libarchive-tools-zstd-bsdtar-sparse-file Passed
Builds a sparse file (1 MiB logical size with a small data segment near the end and an explicit hole at the front), archives it through bsdtar --zstd, extracts to a fresh directory, and verifies that the extracted file has the same logical size, the same sha256 byte content (holes read as zeros) and that the data segment near the end is preserved verbatim.
bsdtar zstd round-trip preserves suid bit in entry header Original / libzstd / usage-libarchive-tools-zstd-bsdtar-suid-preserved Passed
Creates a regular file with the setuid bit set (mode 4755), archives it through bsdtar --zstd, and verifies that the verbose tar listing of the resulting zstd-compressed archive records the 's' suid character in the mode column. Also asserts the frame magic and that the file payload round-trips byte-for-byte after extraction.
bsdtar -tvf zst archive shows mode and size fields Original / libzstd / usage-libarchive-tools-zstd-bsdtar-tvf-listing-fields Passed
Creates a zstd-compressed tar with bsdtar containing a known regular file, runs bsdtar -tvf and asserts the verbose listing carries a regular-file mode prefix, the literal byte size of the input, and the member basename so the libzstd-backed listing pipeline is exercised end to end.
libarchive-tools zstd checksum compare Original / libzstd / usage-libarchive-tools-zstd-checksum-compare Passed
zstd CLI --adapt adaptive compression level Original / libzstd / usage-libarchive-tools-zstd-cli-adapt-mode Passed
Compresses a payload with --adapt so the zstd CLI dynamically tunes its compression level to I/O conditions, verifies the output frame carries the zstd magic, passes -t integrity, decodes byte-for-byte to the original input, and that the adaptive frame is strictly smaller than the source for repetitive data.
zstd CLI --check appends xxhash trailer Original / libzstd / usage-libarchive-tools-zstd-cli-check-xxhash-trailer Passed
Compresses the same payload twice with the zstd CLI, once with --no-check and once with --check, asserts the --check output is at least four bytes longer to account for the trailing XXH64 content checksum and that both variants pass -t and decode byte-for-byte to the original input.
zstd CLI decodes concatenated raw frames (no tar) Original / libzstd / usage-libarchive-tools-zstd-cli-concatenated-frames-decode Passed
Compresses two distinct payloads with the zstd CLI, concatenates the resulting raw .zst files into a single multi-frame stream, verifies both frames pass zstd -t and that zstd -d produces the byte-for-byte concatenation of the original payloads.
zstd CLI -dc decodes multiple files at once to stdout Original / libzstd / usage-libarchive-tools-zstd-cli-dc-multiple-files Passed
Compresses three distinct payloads into independent .zst frames and then invokes 'zstd -dc a.zst b.zst c.zst' so the CLI decodes all three in a single command and concatenates them on stdout. Verifies that the concatenated stdout output matches the byte-for-byte concatenation of the original sources.
zstd CLI -d -k preserves the .zst on decompress Original / libzstd / usage-libarchive-tools-zstd-cli-decompress-keep-preserves-zst Passed
Compresses a payload, then decompresses it with the zstd CLI using -d -k and asserts the .zst input is preserved with its sha256 unchanged while the decoded output matches the original byte stream.
zstd CLI -d -o explicit decompress output path Original / libzstd / usage-libarchive-tools-zstd-cli-decompress-output-flag Passed
Compresses a payload, removes the source, and decompresses with zstd -d -o pointing at an arbitrary destination path that does not match the .zst stem, asserts the destination is created, has the original byte-for-byte content, and that the compressed input is preserved by the default --keep behavior.
bsdtar create piped through zstd CLI -d Original / libzstd / usage-libarchive-tools-zstd-cli-decompress-pipe Passed
Pipes a bsdtar --zstd archive on stdout into the standalone zstd CLI's decompressor and verifies the decoded byte stream is a valid uncompressed tar containing the expected member.
zstd CLI -D dictionary-based round-trip Original / libzstd / usage-libarchive-tools-zstd-cli-dict-roundtrip Passed
Trains a zstd dictionary from a sample corpus then compresses and decompresses an unseen but similar payload using -D <dict>, asserting the dict-compressed frame requires the same dictionary at decode time and that the decoded bytes match the original input byte-for-byte.
zstd CLI -f force overwrite of existing output Original / libzstd / usage-libarchive-tools-zstd-cli-force-overwrite Passed
Compresses a payload with the zstd CLI to a target path that already exists, confirms that without -f the CLI refuses to clobber, and that re-running with -f succeeds and the resulting frame round-trips to the new payload.
zstd CLI --format=gzip emits a gzip stream Original / libzstd / usage-libarchive-tools-zstd-cli-format-gzip Passed
Compresses a payload with the zstd CLI using --format=gzip, verifies the output carries the canonical 1f 8b gzip magic (not the zstd 28 b5 2f fd magic), decodes byte-for-byte through gunzip, and asserts the same payload survives a default zstd round-trip for comparison.
zstd CLI --format=lz4 emits an lz4 frame Original / libzstd / usage-libarchive-tools-zstd-cli-format-lz4 Passed
Compresses a payload with the zstd CLI using --format=lz4, asserts the resulting file carries the lz4 frame magic 04 22 4d 18 (not the zstd magic), and decompresses byte-for-byte back to the source through zstd -d so the lz4 codepath compiled into the CLI is validated end to end.
zstd CLI -k preserves source on compress Original / libzstd / usage-libarchive-tools-zstd-cli-keep-preserves-source Passed
Compresses a payload with the standalone zstd CLI using -k, asserts the original source file still exists with its sha256 unchanged, the .zst output carries the zstd magic, and the frame round-trips back to the same bytes.
zstd CLI -1 vs -19 size differences on compressible payload Original / libzstd / usage-libarchive-tools-zstd-cli-level-1-vs-19-size-diff Passed
Compresses the same highly compressible payload with zstd -1 (fastest) and zstd -19 (high ratio), confirms both frames carry the zstd magic, both decompress back to the original byte stream, and the -19 output is no larger than the -1 output (and meaningfully smaller than the source).
zstd CLI -3 default level explicit Original / libzstd / usage-libarchive-tools-zstd-cli-level-3-explicit Passed
Compresses a payload with the standalone zstd CLI passing -3 explicitly (the documented default level), verifies the resulting frame carries the zstd magic, passes -t integrity, and decodes byte-for-byte to the original input.
zstd CLI -8 explicit mid level compression Original / libzstd / usage-libarchive-tools-zstd-cli-level-8-explicit Passed
Compresses a repetitive payload with the standalone zstd CLI driving the encoder at level 8 (a mid-range tier between the documented -3 default and the long-mode -19 ceiling), verifies the resulting frame carries the zstd magic, passes -t integrity, decodes byte-for-byte to the original input, and produces strictly smaller output than the source.
zstd CLI --list reports frame metadata Original / libzstd / usage-libarchive-tools-zstd-cli-list-frame-info Passed
Compresses a known payload with the zstd CLI then runs zstd --list on the output, asserts the listing is non-empty and references the input filename so the frame metadata reader is exercised end-to-end.
zstd CLI --long=23 expanded window Original / libzstd / usage-libarchive-tools-zstd-cli-long-23-mode Passed
Compresses a payload with the standalone zstd CLI in long-range mode at window log 23 via --long=23, asserts the resulting frame carries the zstd magic, decodes with a matching --long=23 decoder budget, and round-trips byte-for-byte to the original input.
zstd CLI --long=27 long-range mode round-trip Original / libzstd / usage-libarchive-tools-zstd-cli-long-27-flag Passed
Compresses a payload via the standalone zstd CLI with --long=27 long-range mode, asserts the resulting frame carries the zstd magic and passes -t, and verifies it decompresses byte-for-byte back to the original input.
zstd CLI --maxdict caps the trained dictionary Original / libzstd / usage-libarchive-tools-zstd-cli-maxdict-trained Passed
Generates a varied text corpus and runs zstd --train twice with --maxdict=4096 and --maxdict=65536, verifies both dictionaries are produced with non-zero size, asserts the small dictionary's byte size respects the 4096 cap, and that the large-cap run is at least as big as the small-cap run so the limit is observed.
zstd CLI --memory=64MB decode memlimit Original / libzstd / usage-libarchive-tools-zstd-cli-memory-limit-decode Passed
Compresses a small payload with the zstd CLI, then decompresses it with --memory=64MB to set the decoder memory budget well above the frame's window requirement, asserting the decoded bytes match the original byte-for-byte.
zstd CLI --no-check disables content checksum Original / libzstd / usage-libarchive-tools-zstd-cli-no-check-disables-checksum Passed
Compresses the same payload twice with the zstd CLI, once with the default content checksum and once with --no-check, verifies the no-check variant is no larger than the default and that both decompress back to the original byte stream.
zstd CLI --no-content-size omits decompressed size Original / libzstd / usage-libarchive-tools-zstd-cli-no-content-size-flag Passed
Compresses the same payload twice with the zstd CLI - once with the default frame header and once with --no-content-size - asserts both round-trip cleanly via -d and -t and that the no-content-size variant is no larger than the default since the frame content size field is omitted.
zstd CLI --no-progress suppresses progress counter Original / libzstd / usage-libarchive-tools-zstd-cli-no-progress Passed
Compresses a payload with 'zstd --no-progress' to forcibly hide the progress counter even when stderr is a terminal-like context, verifies the resulting frame still carries the zstd magic, passes integrity testing, decodes byte-for-byte to the source, and confirms stderr does not contain the carriage-return-driven progress redraw markers (\r) that the counter normally emits.
zstd CLI --output-dir-flat collects outputs in one directory Original / libzstd / usage-libarchive-tools-zstd-cli-output-dir-flat Passed
Compresses several input files from different subdirectories with --output-dir-flat=DIR and asserts each .zst output lands directly in the flat target directory (without recreating the source tree), each carries the zstd magic, and each round-trips byte-for-byte to its source.
zstd CLI -q quiet suppresses summary banner Original / libzstd / usage-libarchive-tools-zstd-cli-quiet-no-banner Passed
Compresses a payload twice, first with the default zstd CLI (which prints a per-file summary banner showing the compression ratio on stderr) and then with -q, and verifies that the quiet invocation produces empty stderr while still emitting an identical compressed frame that round-trips byte-for-byte.
zstd CLI -t test mode validates good vs tampered frames Original / libzstd / usage-libarchive-tools-zstd-cli-rm-keep-conflict Passed
zstd accepts --rm and --keep together (they are not mutually exclusive on this CLI; --keep wins so the source file survives), so instead this case exercises zstd -t (test mode) which is the canonical integrity-validation behaviour: zstd -t must succeed on a freshly compressed file and must fail with a non-zero exit when a single ciphertext byte has been flipped.
zstd CLI --rm removes the source after success Original / libzstd / usage-libarchive-tools-zstd-cli-rm-removes-source Passed
Compresses a payload with the zstd CLI using --rm, verifies the .zst output exists with the zstd magic and round-trips to the original byte stream, and asserts the original source file was removed by the CLI.
zstd CLI --rsyncable mode round-trip Original / libzstd / usage-libarchive-tools-zstd-cli-rsyncable-mode Passed
Compresses a payload with --rsyncable so the encoder emits a stream tuned for rsync-friendly chunk boundaries, verifies the resulting frame carries the zstd magic, passes -t integrity, and decodes byte-for-byte to the original source.
zstd CLI --show-default-cparams emits expected parameter rows Original / libzstd / usage-libarchive-tools-zstd-cli-show-default-cparams Passed
Compresses a known-size payload with --show-default-cparams and asserts the diagnostic banner contains the windowLog/chainLog/hashLog/searchLog/strategy fields and that the underlying compression still produces a valid zstd frame that round-trips byte-for-byte.
zstd CLI -t test integrity on a valid file Original / libzstd / usage-libarchive-tools-zstd-cli-test-integrity-flag Passed
Compresses a payload with the zstd CLI, then verifies the resulting frame passes the zstd -t (test) integrity check while a deliberately corrupted copy fails the same check.
zstd CLI -T0 auto-detect worker count Original / libzstd / usage-libarchive-tools-zstd-cli-threads-t0-auto Passed
Compresses a payload with the standalone zstd CLI invoked as -T0 so the encoder selects the worker count from the available CPU topology, asserts the resulting frame carries the zstd magic, passes -t integrity, and decodes byte-for-byte to the original input.
zstd CLI -T2 explicit worker count Original / libzstd / usage-libarchive-tools-zstd-cli-threads-t2-explicit Passed
Compresses a payload with the standalone zstd CLI invoked as -T2 to pin two encoder workers, asserts the resulting frame carries the zstd magic, passes -t integrity, and decodes byte-for-byte to the original input.
zstd CLI --train builds dictionary from samples Original / libzstd / usage-libarchive-tools-zstd-cli-train-dictionary Passed
Generates many small varied sample files, runs zstd --train on the sample directory to produce a dictionary file, and asserts the dictionary has non-zero size and starts with one of the documented zstd dictionary magic prefixes (0xEC30A437 trained or 0x28B52FFD raw content).
zstd CLI --ultra unlocks level 22 Original / libzstd / usage-libarchive-tools-zstd-cli-ultra-level-22 Passed
Compresses a payload with the standalone zstd CLI at the maximum level via --ultra -22, asserts the resulting frame carries the zstd magic, passes -t, and round-trips byte-for-byte to the original input.
libarchive-tools zstd copy mode Original / libzstd / usage-libarchive-tools-zstd-copy-mode Passed
libarchive-tools zstd directory only Original / libzstd / usage-libarchive-tools-zstd-directory-only Passed
libarchive-tools zstd dotdir entry Original / libzstd / usage-libarchive-tools-zstd-dotdir-entry Passed
Archives a hidden directory tree with zstd compression and verifies hidden nested files extract correctly.
libarchive-tools zstd dotdir subtree Original / libzstd / usage-libarchive-tools-zstd-dotdir-subtree Passed
Archives a hidden subtree under zstd compression and verifies the nested member path appears in the archive listing.
libarchive-tools zstd dotfile stdout Original / libzstd / usage-libarchive-tools-zstd-dotfile-stdout Passed
Streams a hidden file member from a zstd-compressed tar archive with bsdtar -xOf and verifies the extracted payload.
libarchive tools zstd dotfile stream extract Original / libzstd / usage-libarchive-tools-zstd-dotfile-stream-extract Passed
Exercises libarchive tools zstd dotfile stream extract through a dependent-client usage scenario.
libarchive-tools zstd dotfile Original / libzstd / usage-libarchive-tools-zstd-dotfile Passed
libarchive-tools zstd double strip components Original / libzstd / usage-libarchive-tools-zstd-double-strip-components Passed
Extracts a deeply nested member from a zstd-compressed tar with multiple stripped path components.
libarchive-tools zstd empty dir Original / libzstd / usage-libarchive-tools-zstd-empty-dir Passed
libarchive-tools zstd empty file size Original / libzstd / usage-libarchive-tools-zstd-empty-file-size Passed
Lists a zstd-compressed tar archive verbosely and verifies that an empty member is reported with zero size.
libarchive-tools zstd empty file Original / libzstd / usage-libarchive-tools-zstd-empty-file Passed
libarchive tools zstd empty subdirectory extract Original / libzstd / usage-libarchive-tools-zstd-empty-subdir-extract Passed
Exercises libarchive tools zstd empty subdirectory extract through a dependent-client usage scenario.
libarchive-tools zstd exclude pattern Original / libzstd / usage-libarchive-tools-zstd-exclude-pattern Passed
libarchive-tools zstd extract dotfile Original / libzstd / usage-libarchive-tools-zstd-extract-dotfile Passed
Extracts only a hidden file from a zstd-compressed archive and verifies nonselected members are left out.
bsdtar zstd -xpf preserves multiple permission bit patterns Original / libzstd / usage-libarchive-tools-zstd-extract-p-multi-modes Passed
Archives several files carrying distinct permission bit patterns into a zstd-compressed tar and asserts that bsdtar -xpf restores each member's exact octal mode rather than only the executable bit.
libarchive-tools zstd extract specific member Original / libzstd / usage-libarchive-tools-zstd-extract-specific-member Passed
Extracts a single named member from a zstd-compressed tar archive and verifies the restored file payload.
libarchive-tools zstd extract to stdout Original / libzstd / usage-libarchive-tools-zstd-extract-stdout Passed
libarchive-tools zstd extract two members Original / libzstd / usage-libarchive-tools-zstd-extract-two-members Passed
Extracts two selected members from a zstd-compressed tar and verifies only the requested files are restored.
libarchive-tools zstd filelist dotfile Original / libzstd / usage-libarchive-tools-zstd-filelist-dotfile Passed
Builds a zstd-compressed tar from a file list containing a dotfile and verifies both listed members are present.
libarchive-tools zstd file list input Original / libzstd / usage-libarchive-tools-zstd-filelist-input Passed
libarchive tools zstd file list spaced name Original / libzstd / usage-libarchive-tools-zstd-filelist-space-name Passed
Exercises libarchive tools zstd file list spaced name through a dependent-client usage scenario.
libarchive-tools zstd file list stdin Original / libzstd / usage-libarchive-tools-zstd-filelist-stdin Passed
Feeds a bsdtar file list over stdin while creating a zstd-compressed archive and verifies the selected members.
libarchive-tools zstd filter auto Original / libzstd / usage-libarchive-tools-zstd-filter-auto Passed
bsdtar reads zstd archive made by zstd CLI Original / libzstd / usage-libarchive-tools-zstd-gnu-tar-interop Passed
Builds a tar with system tar, compresses it with the zstd CLI, then has bsdtar via libzstd extract it and validates payload sha256.
libarchive tools zstd hardlink extract compare Original / libzstd / usage-libarchive-tools-zstd-hardlink-extract-compare Passed
Exercises libarchive tools zstd hardlink extract compare through a dependent-client usage scenario.
libarchive-tools zstd hardlink listing Original / libzstd / usage-libarchive-tools-zstd-hardlink-listing Passed
Lists a zstd-compressed archive containing a hard link and verifies the linked member appears in verbose output.
libarchive-tools zstd hardlink pair Original / libzstd / usage-libarchive-tools-zstd-hardlink-pair Passed
Archives and extracts hardlinked files through zstd compression and checks their content matches.
libarchive-tools zstd hidden and visible list Original / libzstd / usage-libarchive-tools-zstd-hidden-and-visible-list Passed
Archives a hidden file and a visible file together in a zstd-compressed tar and verifies both entries appear in the listing.
libarchive tools zstd hidden visible list Original / libzstd / usage-libarchive-tools-zstd-hidden-visible-list Passed
libarchive-tools zstd large file Original / libzstd / usage-libarchive-tools-zstd-large-file Passed
libarchive-tools zstd leading dash filename Original / libzstd / usage-libarchive-tools-zstd-leading-dash Passed
bsdtar zstd default level frame magic Original / libzstd / usage-libarchive-tools-zstd-magic-default-level Passed
Verifies bsdtar --zstd at default level emits a zstd frame whose first four bytes are the 28 b5 2f fd magic number.
libarchive-tools zstd member count three plus Original / libzstd / usage-libarchive-tools-zstd-member-count-three-plus Passed
Lists a zstd-compressed tar archive and verifies that the archive contains multiple members beyond a minimal threshold.
libarchive-tools zstd member order Original / libzstd / usage-libarchive-tools-zstd-member-order Passed
Creates a zstd-compressed archive with a specific member order and verifies bsdtar list mode preserves that order.
libarchive-tools zstd metadata list Original / libzstd / usage-libarchive-tools-zstd-metadata-list Passed
libarchive-tools zstd multiple empty files Original / libzstd / usage-libarchive-tools-zstd-multi-empty-files Passed
Archives multiple empty files under zstd compression and verifies both extracted files remain zero bytes.
bsdtar zstd multi-file selective extract via -T Original / libzstd / usage-libarchive-tools-zstd-multi-file-list-extract Passed
Creates a multi-file zstd-compressed tar then extracts only the members named in a newline-delimited file list passed via -T and verifies that listed members are restored while unlisted members are not.
libarchive-tools zstd multi-file Original / libzstd / usage-libarchive-tools-zstd-multi-file Passed
libarchive-tools zstd nested extract Original / libzstd / usage-libarchive-tools-zstd-nested-extract Passed
libarchive-tools zstd nested spaced file Original / libzstd / usage-libarchive-tools-zstd-nested-space-file Passed
Archives and extracts a nested filename containing spaces in a zstd-compressed tar and verifies the restored payload.
bsdtar zstd compression-level option round-trip Original / libzstd / usage-libarchive-tools-zstd-options-checksum-flag Passed
Creates a zstd-compressed tar with an explicit zstd:compression-level option and verifies the frame magic and a sha256 round-trip.
bsdtar zstd multiple --options separated by commas Original / libzstd / usage-libarchive-tools-zstd-options-comma-multi Passed
Creates a zstd-compressed tar with two zstd writer options joined into a single comma-separated --options value (compression-level=5,zstd:long=24) and verifies the resulting archive round-trips byte-for-byte.
bsdtar zstd compression-level 1 tiny archive Original / libzstd / usage-libarchive-tools-zstd-options-level-1-tiny Passed
Creates a zstd-compressed tar at compression level 1 (the fastest level) over a very small payload and verifies the frame magic plus a sha256 round-trip.
bsdtar zstd compression-level 11 Original / libzstd / usage-libarchive-tools-zstd-options-level-11 Passed
Creates a zstd-compressed tar with bsdtar using --options 'zstd:compression-level=11' (a mid-range level), verifies the archive magic, then extracts and asserts the payload round-trips by sha256.
bsdtar zstd compression-level 19 Original / libzstd / usage-libarchive-tools-zstd-options-level-19 Passed
Creates a zstd-compressed tar at --options zstd:compression-level=19 and verifies sha256 round-trip equality.
bsdtar zstd compression-level 22 Original / libzstd / usage-libarchive-tools-zstd-options-level-22 Passed
Creates a zstd-compressed tar at the maximum --options zstd:compression-level=22 and verifies round-trip integrity.
bsdtar zstd compression-level 3 Original / libzstd / usage-libarchive-tools-zstd-options-level-3 Passed
Creates a zstd-compressed tar with --options zstd:compression-level=3 and round-trips the payload back.
bsdtar zstd long-range mode 25 round-trip Original / libzstd / usage-libarchive-tools-zstd-options-long-25-roundtrip Passed
Creates a zstd-compressed tar with --options 'zstd:long=25,zstd:compression-level=5' to combine long-range encoding with a non-default level and verifies the frame magic plus a sha256 round-trip.
bsdtar zstd long-range mode 27 Original / libzstd / usage-libarchive-tools-zstd-options-long-27 Passed
Creates a zstd-compressed tar with --options zstd:long=27 long-range mode and verifies round-trip integrity.
bsdtar zstd single-thread option Original / libzstd / usage-libarchive-tools-zstd-options-threads-1 Passed
Creates a zstd-compressed tar with --options 'zstd:threads=1' to force single-threaded encoding and verifies the frame magic plus a sha256 round-trip.
libarchive-tools zstd overwrite existing Original / libzstd / usage-libarchive-tools-zstd-overwrite-existing Passed
Extracts a zstd-compressed tar archive over an existing file and verifies the archived content wins.
libarchive-tools zstd preserve permissions Original / libzstd / usage-libarchive-tools-zstd-preserve-permissions Passed
bsdtar zstd --exclude-from filters by pattern file Original / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-exclude-from-file Passed
Creates a zstd archive while feeding bsdtar an --exclude-from file containing two glob patterns, then verifies the listing omits matching entries while the non-excluded member is preserved.
bsdtar zstd writes gnutar-format archive Original / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-format-gnutar Passed
Builds a zstd-compressed tar with --format=gnutar so the GNU tar dialect drives the writer, then asserts the zstd frame magic and the named member appears in the verbose listing after extraction round-trip.
bsdtar zstd writes v7 short-name archive Original / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-format-v7-shortname Passed
Creates a zstd-compressed tar in the legacy V7 format using --format=v7, then asserts the zstd frame magic and that bsdtar can list and extract the short-named member back to a byte-identical file.
bsdtar zstd extract -k preserves existing files Original / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-keep-old-files Passed
Pre-populates an output file then extracts a zstd archive with -k (keep-old-files), asserting bsdtar leaves the original on-disk content in place rather than overwriting it with the archive payload.
bsdtar zstd applies two -s substitution rules Original / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-multi-substitute Passed
Creates a zstd-compressed tar with two chained -s path-rewrite rules, then asserts the listing reflects both rewrites and that the originally-named entries no longer appear in the archive.
bsdtar zstd --no-xattrs create round-trip Original / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-no-xattrs-create Passed
Creates a zstd-compressed tar with --no-xattrs to suppress xattr capture (libarchive accepts it regardless of fs xattr support), asserts the zstd magic, and confirms the payload sha256 round-trips through extraction.
bsdtar zstd extract -U overwrites pre-existing destination content Original / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-unlink-first Passed
Pre-populates the destination file with stale content then extracts a zstd archive with -U (unlink-first), asserting bsdtar overwrites the stale bytes so the destination sha256 matches the source archive payload.
zstd CLI --fast=1 negative-level encode Original / libzstd / usage-libarchive-tools-zstd-r10-zstd-cli-fast-mode-1 Passed
Compresses a repeating payload with zstd --fast=1 to drive the negative-level fast encoder, verifies the .zst frame magic, and confirms the payload sha256 round-trips through decompression.
zstd CLI --list -v reports frame statistics Original / libzstd / usage-libarchive-tools-zstd-r10-zstd-cli-list-verbose-stats Passed
Compresses a sized payload, runs zstd --list -v on the resulting frame, and asserts the verbose listing exposes both the decompressed-size and ratio fields with the original byte count.
zstd CLI --output-dir-mirror preserves source tree Original / libzstd / usage-libarchive-tools-zstd-r10-zstd-cli-output-dir-mirror Passed
Compresses two files in nested source directories with zstd --output-dir-mirror, asserts the mirrored .zst tree appears under the destination, and decompresses one of the mirrored files to confirm the payload sha256 matches the source.
bsdtar --zstd -P preserves the leading slash in pathnames Original / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-absolute-path-flag Passed
Builds a zstd tar with -P from an absolute file path and verifies the recorded entry name retains its leading slash in the verbose listing instead of being silently stripped.
bsdtar --zstd compression-level 19 produces valid frame and round-trips Original / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-compression-level-19 Passed
Compresses a 200-line repeating payload with --options 'zstd:compression-level=19' and verifies the output starts with the zstd magic, --list reports a single frame, and extraction reproduces the input byte-for-byte.
bsdtar --zstd verbose listing reports hardlink relationship Original / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-hardlink-listing Passed
Builds a zstd tar containing two hardlinked entries to the same inode and verifies bsdtar -tvf annotates the second entry with a "link to" reference back to the first.
bsdtar --include filters extraction by glob from a zstd archive Original / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-include-glob-extract Passed
Builds a zstd tar containing two .log files and one .txt, extracts with --include='*.log', and verifies only the matching log files are written and the .txt entry is skipped.
bsdtar --zstd extract --no-same-owner restores files as the extractor Original / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-no-same-owner-extract Passed
Builds a zstd tar with explicit uid=0 owner, extracts with --no-same-owner, and verifies the resulting file is owned by the current process user/group rather than root.
bsdtar --zstd --uid=0 --gid=0 records numeric zero owner Original / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-numeric-uid-gid Passed
Builds a zstd tar with --uid=0 --gid=0 to override the owner numerics, then asserts the verbose listing reports a 0/0 numeric pair regardless of the host user identity.
bsdtar --zstd --format=pax pairs zstd compression with pax tar Original / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-pax-format-zstd Passed
Builds a zstd-compressed pax-format tar containing a long-pathname member exceeding the ustar 100-byte limit and verifies bsdtar reads the pax extended header back to recover the full path on extract.
bsdtar --zstd extract with --strip-components collapses leading directory Original / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-strip-components Passed
Builds a zstd tar containing files under sub/, extracts with --strip-components=1, and verifies the leading sub/ prefix is removed so the files land directly under the output root.
zstd --no-check omits the frame checksum reported by --list Original / libzstd / usage-libarchive-tools-zstd-r11-zstd-cli-no-check Passed
Compresses with --no-check and asserts the zstd --list summary reports Check column "None" instead of the default XXH64 trailer, while the output still round-trips on decode.
zstd --rsyncable produces a valid stream that round-trips Original / libzstd / usage-libarchive-tools-zstd-r11-zstd-cli-rsyncable Passed
Compresses 64 KiB of random bytes with the zstd CLI in --rsyncable mode and verifies the resulting frame passes integrity check (zstd -t) and decompresses byte-equal to the input.
bsdtar --zstd --newer-mtime skips files older than the cutoff timestamp Original / libzstd / usage-libarchive-tools-zstd-r12-bsdtar-newer-than-filter Passed
Builds a directory with one old and one fresh file, archives with bsdtar --zstd --newer-mtime set between their mtimes, and asserts the resulting zstd tar lists only the fresh file.
bsdtar --zstd --uname/--gname rewrite the recorded owner labels Original / libzstd / usage-libarchive-tools-zstd-r12-bsdtar-uname-override Passed
Creates a small file, archives it with bsdtar --zstd plus --uname=root and --gname=root to force the owner labels in the archive header, and asserts the verbose listing shows the requested owner/group names regardless of the calling user.
zstd -d on file.zst writes the decoded output to file with the suffix stripped Original / libzstd / usage-libarchive-tools-zstd-r12-cli-decompress-suffix-strip Passed
Compresses an input named payload.bin to payload.bin.zst, removes the original, decodes with zstd -d, and asserts the recovered file is named payload.bin (the .zst suffix stripped) and matches the original byte stream.
zstd -D round-trip uses the trained dictionary on encode and decode Original / libzstd / usage-libarchive-tools-zstd-r12-cli-dict-decompress-roundtrip Passed
Trains a small dictionary from synthetic samples, compresses an unrelated input with -D dict, and decodes it with -D dict to confirm the dictionary-bound encoder and decoder reconstruct the input byte-for-byte.
zstd -f overwrites an existing destination file silently Original / libzstd / usage-libarchive-tools-zstd-r12-cli-force-overwrite-output Passed
Pre-creates a destination file containing a sentinel string, runs zstd -f to encode a fresh payload to that path, and asserts the destination is replaced by a real zstd frame whose decode matches the source.
zstd CLI -l --no-progress lists header info with the original byte count Original / libzstd / usage-libarchive-tools-zstd-r12-cli-list-machine-readable Passed
Compresses a payload of known size, runs zstd -l on the resulting frame, and asserts the listing reports the canonical column header line and the exact decompressed byte count.
zstd -qq suppresses the "compressed" summary line printed by default Original / libzstd / usage-libarchive-tools-zstd-r12-cli-quiet-suppresses-stderr Passed
Compresses a payload with default verbosity, with -q, and with -qq, and asserts each progressively quieter mode strips lines: default may print, -q stays silent on success, and -qq matches -q with no diagnostic stderr output.
zstd -d --rm removes the .zst source after a successful decode Original / libzstd / usage-libarchive-tools-zstd-r12-cli-rm-after-decode Passed
Compresses an input, then decodes with --rm and asserts the source .zst file is removed while the recovered plaintext exists and matches the original byte stream.
zstd -c writes the compressed frame to stdout without touching the source Original / libzstd / usage-libarchive-tools-zstd-r12-cli-stdout-flag-c Passed
Runs zstd -c to encode a file to stdout, captures the bytes via shell redirection, and asserts the source file is preserved on disk while the captured stdout decodes cleanly back to the original payload.
zstd -t accepts a frame on stdin and exits 0 for a valid stream Original / libzstd / usage-libarchive-tools-zstd-r12-cli-test-flag-on-stream Passed
Pipes a freshly produced zstd frame into zstd -t via stdin, asserts the integrity check passes, and verifies that corrupting a single byte causes zstd -t to exit non-zero.
bsdtar --zstd --options zstd:long=27 enables long-distance matching for the embedded zstd writer Original / libzstd / usage-libarchive-tools-zstd-r13-bsdtar-options-zstd-long-27 Passed
Builds a directory with several small text files, archives via bsdtar --zstd --options zstd:long=27, asserts the resulting .tar.zst lists the expected entries and round-trips byte-for-byte to the source tree under SHA-256 comparison.
bsdtar -tvf on a .tar.zst lists the expected entries with mode and size columns Original / libzstd / usage-libarchive-tools-zstd-r13-bsdtar-tvf-shows-zst-entries Passed
Builds a small directory of two files via bsdtar --zstd, runs bsdtar -tvf on the archive, and asserts the verbose listing contains both entry names and mode-prefixed rows beginning with a regular-file indicator.
zstd CLI -B131072 selects job size and still produces a valid roundtrippable frame Original / libzstd / usage-libarchive-tools-zstd-r13-cli-block-size-flag Passed
Compresses a 512KB payload with zstd -B131072 to set a 128KB job/block size, asserts the resulting .zst carries the standard zstd magic, passes -t integrity, and decompresses byte-for-byte to the source SHA-256.
zstd CLI -k preserves the source file alongside the produced .zst Original / libzstd / usage-libarchive-tools-zstd-r13-cli-keep-source-flag Passed
Compresses a file with zstd -k and asserts both the original and the .zst exist afterwards, the source contents are unchanged, and the .zst decompresses back to the original SHA-256.
zstd CLI --no-content-size omits decompressed size from the frame header listing Original / libzstd / usage-libarchive-tools-zstd-r13-cli-no-content-size-listing Passed
Compresses a payload with zstd --no-content-size, runs zstd -lv on the result, and asserts the verbose listing omits the "Decompressed Size" line entirely (because the field was suppressed in the frame header) while the output still round-trips byte-for-byte.
zstd CLI --no-dictID strips dictID from a dictionary-compressed frame while still decoding with the same dict Original / libzstd / usage-libarchive-tools-zstd-r13-cli-no-dictid-flag Passed
Trains a small dictionary, compresses a payload with -D dict --no-dictID, asserts the resulting frame still passes -t and round-trips when the same dictionary is supplied on decompression, while the recorded -lv listing reports a Dictionary ID of 0 (i.e. dictID was not written into the header).
zstd CLI --no-progress suppresses the progress bar marker characters in stderr Original / libzstd / usage-libarchive-tools-zstd-r13-cli-no-progress-stderr-quiet Passed
Compresses a payload with zstd --no-progress -o, captures stderr, and asserts the carriage-return-driven progress markers (Read/Write/dictionary updates) are absent from the recorded stderr stream while the .zst output still validates.
zstd CLI -o renames the output file independently of the input stem Original / libzstd / usage-libarchive-tools-zstd-r13-cli-output-rename Passed
Compresses input.bin with zstd -o renamed.zstdata to a non-default extension, asserts the chosen output path is created with valid zstd magic, the input is preserved, and the renamed archive round-trips byte-for-byte.
zstd -c reads stdin and writes a frame to stdout for shell pipelines Original / libzstd / usage-libarchive-tools-zstd-r13-cli-stdin-c-pipeline Passed
Pipes a payload into zstd -c (stdout streaming), captures the produced bytes, asserts the captured stream begins with the zstd frame magic 0x28b52ffd and round-trips back to the original SHA-256 via zstd -dq -c.
zstd CLI --train --maxdict=8192 caps the trained dictionary at the requested ceiling Original / libzstd / usage-libarchive-tools-zstd-r13-cli-train-small-dict Passed
Generates 256 small varied sample files, runs zstd --train --maxdict=8192 to produce a dictionary file, asserts the dictionary file exists, has non-zero size at or below the 8192 byte cap, and starts with a valid zstd dictionary or raw-content magic prefix.
bsdtar --options zstd:compression-level=10 selects an explicit zstd level Original / libzstd / usage-libarchive-tools-zstd-r14-bsdtar-options-compression-level-10 Passed
Builds a zstd-compressed tar with bsdtar --zstd and --options zstd:compression-level=10 to set an explicit compression level, asserts the resulting archive starts with the zstd frame magic, lists the expected entries through bsdtar -tf, and extracts to a tree whose contents round-trip byte-for-byte.
bsdtar --use-compress-program=zstd pipes the archive through the external zstd CLI Original / libzstd / usage-libarchive-tools-zstd-r14-bsdtar-use-compress-program Passed
Builds a tar with bsdtar --use-compress-program=zstd, asserts the resulting payload begins with the standard zstd frame magic, lists cleanly via bsdtar -tf, and extracts to a tree whose contents match the source SHA-256 byte-for-byte.
zstd --check writes an XXH64 content checksum that surfaces in zstd -lv listing Original / libzstd / usage-libarchive-tools-zstd-r14-cli-check-xxh64-listing Passed
Compresses a payload with zstd --check, runs zstd -lv on the resulting frame, and asserts the verbose listing carries a "Check: XXH64" line confirming the per-frame content checksum was written. The frame must also pass -t integrity and round-trip byte-for-byte.
zstd --decompress long flag is accepted as a synonym for -d Original / libzstd / usage-libarchive-tools-zstd-r14-cli-decompress-long-flag Passed
Compresses a payload, decompresses the resulting frame using the long flag form --decompress (instead of the short -d), and asserts the decoded output matches the source SHA-256 and the .zst input file is preserved on disk.
zstd -d -o <file> writes the decoded payload to the named output file Original / libzstd / usage-libarchive-tools-zstd-r14-cli-decompress-output-flag Passed
Compresses a payload, runs zstd -d -o <out> against the .zst archive, and asserts the decoded output file exists at the named path, matches the source byte-for-byte by SHA-256, and that the original .zst input is preserved on disk.
zstd --long=21 enables a 2 MiB window and the produced frame round-trips Original / libzstd / usage-libarchive-tools-zstd-r14-cli-long-window-21 Passed
Compresses a multi-megabyte payload with zstd --long=21 (2 MiB window log) so the long-distance matching path is exercised, asserts the resulting .zst carries the standard zstd frame magic, passes -t integrity, and decompresses back to a byte-identical SHA-256 of the source.
zstd --memory=128MB raises the decoder memory ceiling and decodes the frame Original / libzstd / usage-libarchive-tools-zstd-r14-cli-memory-limit-128mb Passed
Compresses a payload, decompresses it with zstd --memory=128MB to set an explicit decoder memory ceiling well above the frame requirement, and asserts the decoded output matches the source byte-for-byte. The flag must be accepted and the transfer must complete cleanly.
zstd -r recursively compresses every regular file under a directory Original / libzstd / usage-libarchive-tools-zstd-r14-cli-recursive-flag Passed
Populates a directory with multiple regular files, runs zstd -r against the directory, and asserts each input file gains a sibling .zst archive that passes -t integrity and decompresses byte-for-byte to the corresponding source. The flag must accept a directory argument and walk it recursively.
zstd --threads=2 enables multi-threaded compression and the frame round-trips Original / libzstd / usage-libarchive-tools-zstd-r14-cli-threads-2-roundtrip Passed
Compresses a payload with zstd --threads=2 (multi-threaded encoder), asserts the resulting .zst carries the standard zstd frame magic, passes -t integrity, and decompresses byte-for-byte to the source SHA-256. zstd in noble is built with multi-threading enabled, so --threads=2 must be accepted without falling back.
zstd -22 --ultra accepts the maximum strategy level and the frame round-trips Original / libzstd / usage-libarchive-tools-zstd-r14-cli-ultra-22 Passed
Compresses a small payload at zstd -22 with --ultra (which unlocks levels 20-22), asserts the produced .zst carries the standard zstd frame magic, passes -t integrity, and decompresses byte-for-byte to the source SHA-256.
bsdtar --options=zstd:compression-level=5 produces a valid zstd-wrapped tar that round-trips Original / libzstd / usage-libarchive-tools-zstd-r15-bsdtar-options-compression-level-5 Passed
Creates a zstd-compressed tar with bsdtar --options 'zstd:compression-level=5', asserts the resulting archive starts with the zstd frame magic, lists cleanly, and extracts back to a byte-identical SHA-256 of every source member.
bsdtar --options=zstd:threads=2 produces a parallel-compressed tar that decodes cleanly Original / libzstd / usage-libarchive-tools-zstd-r15-bsdtar-options-threads-2 Passed
Builds a zstd-compressed tar with bsdtar --options 'zstd:threads=2' so the multi-threaded compressor path is exercised, asserts the archive carries the zstd frame magic, and confirms extraction recovers the source files byte-for-byte.
bsdtar --uname/--gname override the symbolic owner/group recorded in a zstd tar Original / libzstd / usage-libarchive-tools-zstd-r15-bsdtar-uname-gname-override Passed
Builds a zstd-compressed tar with bsdtar --uname/--gname pointing at synthetic identifiers, lists the archive with -tvf, and asserts each entry's owner/group columns reflect the supplied overrides rather than the host's runtime user/group.
zstd CLI default frame header records content size and -lv reports it Original / libzstd / usage-libarchive-tools-zstd-r15-cli-content-size-listing Passed
Compresses a payload with the default zstd CLI invocation (no --no-content-size), runs zstd -lv on the result, and asserts the verbose listing reports both the Decompressed Size and Ratio rows. Confirms the default frame header carries the content-size field that --no-content-size suppresses.
zstd -r --exclude-compressed leaves pre-existing .zst inputs untouched while compressing the rest Original / libzstd / usage-libarchive-tools-zstd-r15-cli-exclude-compressed-skips-zst Passed
Stages a directory containing both raw text files and an already-compressed .zst, runs zstd -r --exclude-compressed against the directory, and asserts the previously-compressed file is not re-compressed (no .zst.zst is produced) while the raw inputs gain .zst siblings.
zstd --fast=5 produces a valid frame that decodes back to the original Original / libzstd / usage-libarchive-tools-zstd-r15-cli-fast-mode-explicit Passed
Compresses a payload with zstd --fast=5 (negative compression level / fast mode 5), asserts the resulting file carries the standard zstd frame magic, passes -t integrity, and decompresses to a byte-identical SHA-256 of the source.
zstd --no-check produces a frame whose -lv listing reports Check: None Original / libzstd / usage-libarchive-tools-zstd-r15-cli-no-check-listing Passed
Compresses a payload with zstd --no-check so the trailing XXH64 checksum is suppressed, runs zstd -lv on the result, and asserts the verbose listing reports a "Check: None" row (vs. "Check: XXH64" for a default frame). Also confirms decompression still recovers the source byte-for-byte.
zstd --output-dir-mirror reproduces the source directory tree under the mirror root Original / libzstd / usage-libarchive-tools-zstd-r15-cli-output-dir-mirror Passed
Compresses a nested input tree with zstd -r --output-dir-mirror and asserts the mirror root contains the same relative directory layout, with each input file replaced by an .zst sibling at the mirrored path. The original tree must not gain new .zst entries.
zstd --progress writes a progress line to stderr while -q --no-progress stays silent Original / libzstd / usage-libarchive-tools-zstd-r15-cli-progress-stderr-output Passed
Compresses a payload twice: once with zstd --progress (stderr output expected) and once with -q --no-progress (stderr expected to be empty). Asserts the --progress run prints something to stderr and the --no-progress run produces no stderr output, while both compressions still produce identical decoded bodies.
zstd --train-fastcover trains a dictionary that round-trips a sample payload Original / libzstd / usage-libarchive-tools-zstd-r15-cli-train-fastcover-flag Passed
Generates a corpus of small training samples, runs zstd --train-fastcover=k=32 to build a fastcover-trained dictionary, asserts the produced file is a Zstandard dictionary, then compresses and decompresses a payload with -D against it and confirms a byte-for-byte SHA-256 round-trip.
bsdtar -tvf on a tar.zst archive lists the expected member paths under verbose long-form listing Original / libzstd / usage-libarchive-tools-zstd-r16-bsdtar-tvf-shows-zst-entries Passed
Packs two files into a tar.zst archive with bsdtar --zstd, runs bsdtar -tvf to list it, and asserts the verbose output includes both member relative paths and the canonical zst-content prefix is parsed (member count == 2 excluding directory entries).
bsdtar --zstd creates and extracts a tar.zst archive whose contents byte-match the source tree Original / libzstd / usage-libarchive-tools-zstd-r16-bsdtar-zstd-roundtrip-checksum Passed
Stages a small file tree, packs it with bsdtar --zstd into a .tar.zst archive, extracts it into a sibling directory, and asserts the SHA-256 of every restored file matches the original — exercising libarchive's --zstd compressor in both create and extract modes.
zstd -d decodes two concatenated frames produced separately into the concatenated source payload Original / libzstd / usage-libarchive-tools-zstd-r16-cli-concatenated-frames-decode Passed
Compresses two distinct payloads into separate .zst frames, concatenates the two .zst files into one, and asserts zstd -d on the concatenation decodes to the byte-for-byte concatenation of the two original sources, exercising the multi-frame concatenated decode path.
zstd -19 produces a strictly smaller payload than zstd -1 on a repetitive source Original / libzstd / usage-libarchive-tools-zstd-r16-cli-level-1-vs-19-size-monotonic Passed
Compresses a highly repetitive payload with zstd -1 and zstd -19, asserts both files decompress back to the byte-identical source via SHA-256, and confirms the -19 output is strictly smaller than the -1 output — exercising the level knob's monotonic size response on compressible input.
zstd --long=24 accepts an explicit window-log and decompresses with --long to the same source Original / libzstd / usage-libarchive-tools-zstd-r16-cli-long-window-log-flag-accepted Passed
Compresses a payload with zstd --long=24, asserts the file exists with the standard zstd frame magic, then decompresses with zstd -d --long=24 and verifies the SHA-256 round-trip equals the source — exercising the long-mode window-log flag path on both encode and decode.
zstd --rm removes the original input file after a successful compression Original / libzstd / usage-libarchive-tools-zstd-r16-cli-rm-removes-source-after-compress Passed
Creates an input file, compresses it with zstd --rm to a sibling .zst output, asserts the original input file no longer exists while the .zst output is present and decompresses to a byte-identical SHA-256 of the captured-before-deletion source bytes.
zstd -c | zstd -dc pipeline round-trips a source payload through stdin/stdout Original / libzstd / usage-libarchive-tools-zstd-r16-cli-stdout-c-pipeline-pipe Passed
Pipes a generated payload through zstd -c (compress to stdout) into zstd -dc (decompress from stdin to stdout), captures the result, and asserts the SHA-256 of the decompressed bytes equals the SHA-256 of the source — exercising the streaming stdout/stdin pipeline.
zstd -t verifies the integrity of a valid frame without emitting decoded data Original / libzstd / usage-libarchive-tools-zstd-r16-cli-test-flag-valid-frame Passed
Compresses a payload to .zst, runs zstd -t against it (test/integrity mode), asserts exit code 0, and confirms zstd -t does not produce any decoded output on stdout — locking in the test-only contract of the -t flag on a well-formed frame.
zstd --train on a small sample corpus emits a dictionary whose first four bytes are the zstd dict magic Original / libzstd / usage-libarchive-tools-zstd-r16-cli-train-produces-dictionary-magic Passed
Generates a corpus of 128 small training samples, runs zstd --train to build a dictionary, and asserts the produced file exists and starts with the canonical zstd dictionary magic 0x37A430EC (little-endian), without further exercising the dictionary semantics.
zstdcat with two .zst arguments emits the concatenated decoded payload on stdout Original / libzstd / usage-libarchive-tools-zstd-r16-zstdcat-multiple-inputs-concat Passed
Compresses two distinct payloads into separate .zst files, runs zstdcat with both files as arguments, and asserts the captured stdout SHA-256 equals the SHA-256 of the concatenation of the two original sources — exercising the multi-input zstdcat path.
bsdtar --zstd --options zstd:compression-level=5 produces a valid tar.zst archive Original / libzstd / usage-libarchive-tools-zstd-r17-bsdtar-options-compression-level-five Passed
Packs two source files into a tar.zst archive with bsdtar --zstd and the explicit '--options zstd:compression-level=5' knob, then re-lists the archive and asserts both members are present, exercising libarchive's zstd compression-level option wiring.
bsdtar --zstd create + extract round-trips file contents byte-for-byte Original / libzstd / usage-libarchive-tools-zstd-r17-bsdtar-zstd-roundtrip-extract-contents Passed
Packs two files into tar.zst with bsdtar --zstd, extracts the archive into a fresh directory, and asserts each extracted file's SHA-256 matches the source, locking in the create/extract round-trip through libarchive's zstd-backed format.
zstd --check compressed frame validates cleanly under zstd -t Original / libzstd / usage-libarchive-tools-zstd-r17-cli-check-xxhash-trailer-present Passed
Compresses a payload with the explicit --check option (enabling the XXH64 content checksum) and asserts the produced .zst frame passes 'zstd -t' integrity verification.
zstd -d on a truncated frame exits non-zero and refuses to emit a clean decode Original / libzstd / usage-libarchive-tools-zstd-r17-cli-d-truncated-frame-fails Passed
Compresses a payload, truncates the resulting .zst file to a fraction of its size, runs zstd -d on the truncated frame, and asserts the decoder exits non-zero, exercising the corrupted/truncated frame rejection path.
zstd -f overwrites a pre-existing .zst output file without prompting Original / libzstd / usage-libarchive-tools-zstd-r17-cli-f-overwrites-existing-zst Passed
Creates a stub .zst output, runs zstd -f on a fresh source pointing at the same output path, and asserts the resulting file is a valid zstd frame (begins with the 0x28b52ffd magic) and decompresses back to the source payload.
zstd --keep retains the source file after a successful compression Original / libzstd / usage-libarchive-tools-zstd-r17-cli-keep-flag-preserves-source Passed
Compresses a small payload with zstd --keep and asserts the source file still exists after the run (default behavior on modern zstd, but the --keep flag pins it explicitly), and that the produced .zst file is non-empty.
zstd -10 mid-level compression round-trips byte-for-byte via SHA-256 Original / libzstd / usage-libarchive-tools-zstd-r17-cli-level-ten-roundtrip-sha Passed
Compresses a generated payload with zstd -10, decompresses it back with zstd -d, and asserts the SHA-256 of the decoded bytes equals the source SHA-256, exercising a mid-range compression level path.
zstd -r recursively compresses every file in a directory tree to a .zst sibling Original / libzstd / usage-libarchive-tools-zstd-r17-cli-r-recursive-directory-tree Passed
Lays down a small directory tree with three files in two levels, runs 'zstd -q -r' on the root, and asserts a .zst sibling appears next to each source file and each decompresses back to the original payload.
zstd compress-from-stdin then decompress-to-stdout round-trips byte-for-byte via SHA Original / libzstd / usage-libarchive-tools-zstd-r17-cli-stdin-pipe-roundtrip-sha Passed
Pipes a generated payload into 'zstd' (compress, stdin->stdout) and then through 'zstd -d' (decompress, stdin->stdout), and asserts the SHA-256 of the decompressed bytes equals the source SHA-256.
bsdtar -xOf on a tar.zst archive streams the original file contents Original / libzstd / usage-libarchive-tools-zstd-r18-bsdcat-tar-zst-stream-equals-source Passed
Creates a tar.zst archive containing a single text file with bsdtar --zstd -cf, extracts the member to stdout via bsdtar -xOf, and asserts the sha256 of the streamed bytes equals the sha256 of the original file — exercising libarchive's tar.zst extract-to-stdout path.
bsdtar --zstd --exclude omits matching paths during tar.zst creation Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-exclude-pattern-skips-member Passed
Packs three files into tar.zst while passing --exclude 'skip.txt' to bsdtar, lists the resulting archive, and asserts the excluded member is absent while the other members remain.
bsdtar -t lists three tar.zst members in deterministic order Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-list-zst-members Passed
Builds a tar.zst archive with three named files, runs bsdtar -tf to list its members, and asserts every expected name appears in the output — confirming libarchive's tar.zst listing path.
bsdtar --zstd --options zstd:compression-level=19 round-trips content byte-for-byte Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-options-level-19-roundtrip Passed
Packs a deterministic text payload into tar.zst at compression-level 19 via bsdtar, extracts it back to a fresh directory, and asserts the extracted file's SHA-256 matches the source to lock in high-level compression correctness.
bsdtar -O reads a tar.zst from stdin and writes member content to stdout Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-pipe-stdin-extract-stdout Passed
Creates a tar.zst archive with a single member, feeds it to bsdtar -O via stdin, and asserts the SHA-256 of the stdout stream matches the original file's SHA-256 to pin the libarchive stdin-to-stdout extraction path.
bsdtar -x --strip-components 1 drops the leading path segment on tar.zst extraction Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-strip-components-one Passed
Creates a tar.zst archive containing a top/leaf.txt path layout, extracts it with bsdtar --strip-components 1 into a fresh directory, and asserts the extracted layout drops the leading 'top/' segment so leaf.txt appears at the destination root.
bsdtar --zstd --totals emits a final byte count summary to stderr Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-totals-stderr-contains-bytes Passed
Packs a small payload into tar.zst with bsdtar --zstd --totals, captures stderr, and asserts the totals summary line mentions 'bytes' to confirm the libarchive totals reporting path is reached when the zstd filter is in use.
bsdtar --uname --gname embeds custom owner/group strings into a tar.zst archive Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-uname-gname-preserved Passed
Packs a single file into tar.zst with bsdtar --uname=zguser --gname=zggroup, then asks bsdtar -tvf to list the archive in verbose mode and asserts both owner and group strings appear in the listing.
bsdtar --zstd --format ustar packs a tar.zst archive and round-trips contents Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-ustar-format-flag-tar-zst Passed
Creates a tar.zst archive forcing the inner tar format to ustar via --format ustar, extracts it back into a clean directory, and verifies the extracted file's SHA-256 matches the source to lock in libarchive's ustar+zstd combination.
bsdtar --zstd --no-recursion archives only the named directory entry, not its contents Original / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-zstd-no-recursion-flat-dir Passed
Creates a directory with two files inside and packs only the directory entry into a tar.zst archive with --no-recursion, then lists the archive and asserts only the directory member is present, not the nested files.
bsdtar -x -f archive.tar.zst -C target extracts into the named destination directory Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-c-dash-c-extract-into-target Passed
Builds a tar.zst archive containing payload.txt, creates a separate destination directory, runs bsdtar -xf -C dest, and asserts the member lands under dest/payload.txt with byte-identical SHA-256 to the source.
bsdtar -x -k on tar.zst fails to overwrite an existing destination file Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-keep-old-files-preserves-existing Passed
Creates a tar.zst archive carrying payload.txt, pre-populates the destination with a sentinel payload.txt, runs bsdtar -xkf on the archive, and asserts the pre-existing file is left untouched (its bytes unchanged) confirming the libarchive -k overwrite-refusal path with zstd.
bsdtar -tf prints directory members in a tar.zst with a trailing slash Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-list-directory-entry-trailing-slash Passed
Packs a directory containing one file into a tar.zst archive, runs bsdtar -tf on it, and asserts the directory member appears with a trailing '/' in the listing — pinning the libarchive directory-entry rendering for tar.zst archives.
bsdtar packs three named files into one tar.zst and extracts them with matching SHA-256 each Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-multi-member-archive-three-files Passed
Creates three small files with distinct payloads, packs them together into a single tar.zst, extracts to a fresh directory, and asserts every extracted file's SHA-256 equals its source — pinning the libarchive multi-member tar.zst roundtrip path.
bsdtar --zstd --options zstd:compression-level=1 produces a valid tar.zst that round-trips Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-options-level-one-roundtrip Passed
Packs a deterministic payload into tar.zst at the lowest zstd compression level (1), extracts back into a fresh directory, and verifies the extracted file's SHA-256 matches the source — pinning libarchive's lowest-level zstd encoder roundtrip.
bsdtar -tvf on a tar.zst lists the member's byte size in the verbose output Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-tvf-shows-size-column Passed
Packs a deterministic 384-byte file into a tar.zst, runs bsdtar -tvf on the archive, and asserts the verbose listing line contains the literal token '384' for the member size to confirm libarchive's size column rendering.
bsdtar --version output advertises a zstd-related feature token Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-version-mentions-zstd-feature Passed
Runs bsdtar --version and asserts the printed feature list mentions 'zstd' or 'libzstd' in any case, evidencing that the libarchive build linked against libzstd is the one bsdtar uses for tar.zst handling on Ubuntu 24.04.
bsdtar -xf on a tar.zst archive emits no stdout/stderr noise on success Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-x-quiet-no-output-default Passed
Extracts a tar.zst archive with bsdtar -xf without -v, captures stdout and stderr, and asserts both streams are empty in the success case to pin the libarchive default-quiet extraction behavior with zstd compression.
bsdtar extracts a tar.zst preserving the executable bit on a 0755-mode member Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-xp-preserves-executable-mode Passed
Creates a script file with permissions 0755, packs it into a tar.zst archive, extracts to a fresh directory, and asserts the extracted file retains the executable bit for the owner — pinning libarchive's mode preservation across the zstd-compressed tar path.
bsdtar tar.zst archives a zero-byte file and restores it with size 0 on extract Original / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-zero-byte-member-roundtrip Passed
Creates an empty file via touch, packs it into a tar.zst archive with bsdtar --zstd -cf, extracts the archive to a fresh directory, and asserts the extracted file exists and reports zero bytes — pinning the libarchive zero-length member roundtrip path.
bsdtar --zstd produces an archive whose first four bytes are the zstd frame magic Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-cf-zst-magic-header Passed
Builds a tar.zst archive via bsdtar --zstd and asserts the first four bytes of the output equal the canonical zstd frame magic 28 b5 2f fd (little-endian), pinning libarchive's zstd writer's frame-magic emission on Ubuntu 24.04.
bsdtar --zstd -T - reads member paths from stdin to build a multi-file archive Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-create-from-stdin-paths Passed
Pipes two newline-separated paths to bsdtar --zstd -cf out.tar.zst -T -, then lists the archive contents and asserts both names appear exactly once each in the listing — pinning libarchive's stdin-file-list (-T -) path under zstd compression.
bsdtar --zstd creates an empty tar.zst archive that lists with no members Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-empty-archive-roundtrip Passed
Builds a tar.zst archive from an empty file list via bsdtar --zstd -cf out.tar.zst -T /dev/null, asserts the archive is non-empty (it still has a tar terminator wrapped in a zstd frame) and that bsdtar --zstd -tf produces zero member lines, pinning libarchive's empty-archive emission under zstd.
bsdtar --zstd roundtrip preserves the exact byte size of an extracted member Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-extract-preserves-file-size Passed
Builds a tar.zst archive containing payload.bin of a fixed 8192-byte size, extracts it into a fresh directory via bsdtar --zstd -xf, and asserts the extracted file is exactly 8192 bytes long, pinning the libarchive zstd reader's whole-member integrity.
bsdtar --zstd -tvf prints a permission string column for each archive member Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-list-verbose-shows-permissions-column Passed
Builds a tar.zst archive with a single file, runs bsdtar --zstd -tvf and asserts the verbose listing's first column starts with a 'rwx'-style permission descriptor matching ^[-d][rwx-]{9}, pinning bsdtar's verbose-list permission column under zstd archives.
bsdtar --zstd roundtrip preserves a two-level nested directory layout Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-nested-directory-roundtrip Passed
Creates a src/a/b/payload.txt three-level layout, archives src via bsdtar --zstd, extracts it into a fresh destination, and asserts the destination contains the file at the same relative path with byte-identical contents, pinning libarchive's nested-directory traversal under zstd.
bsdtar --zstd --newer-mtime omits members whose mtime predates the cutoff Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-newer-than-skips-old-file Passed
Creates two files where one is touched to be older than the other, builds a tar.zst archive with --newer-mtime set to the older file's mtime+10s, lists the archive and asserts the old file is not present while the newer file is — pinning bsdtar's mtime-filter path under zstd compression.
bsdtar --zstd --options zstd:compression-level=3 roundtrips a member with identical SHA-256 Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-options-level-three-roundtrip Passed
Builds a tar.zst archive with bsdtar --zstd --options zstd:compression-level=3 and extracts it back, asserting the SHA-256 of the original and extracted payload match byte-for-byte, pinning libarchive's zstd compression-level option passthrough.
bsdtar --zstd -xq stops extracting after the first named member is found Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-q-quiet-stops-after-first-match Passed
Builds a tar.zst archive containing two files (a.txt and b.txt), extracts only a.txt with bsdtar --zstd -xqf using -q (fast-quit) and the explicit member name, and asserts a.txt was extracted while b.txt was not — pinning the libarchive zstd reader's fast-quit name match path.
bsdtar --zstd -x recreates a directory-only archive entry on extraction Original / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-x-creates-target-dir Passed
Builds a tar.zst archive containing a directory entry named adir/, extracts it into a fresh destination via bsdtar --zstd -xf, and asserts the destination contains adir as a real directory — pinning libarchive's zstd-driven directory-entry materialization.
bsdcat reads a tar.zst archive and emits the concatenated member bytes Original / libzstd / usage-libarchive-tools-zstd-r21-bsdcat-reads-zst-archive-stream Passed
Creates a tar.zst archive containing two small text members and runs bsdcat against it, asserting the streamed output contains the bytes from both members — pinning libarchive's bsdcat zst reader on Ubuntu 24.04.
bsdtar -x extracts a nested tar.zst that itself contains another tar.zst Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-extract-nested-tar-zst Passed
Wraps a payload file in tar.zst inner archive, then wraps that inner archive into an outer tar.zst, extracts the outer archive and the inner archive in sequence, and asserts the final extracted payload matches the original bytes — pinning libarchive's nested-zst extraction on Ubuntu 24.04.
bsdtar tar.zst roundtrips a 4 MiB random payload preserving size and sha256 Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-large-file-roundtrip-sha256 Passed
Creates a 4 MiB random-byte file, archives it as tar.zst, extracts it, and asserts both the file size and the SHA-256 match the original — pinning libarchive's zstd integrity for non-trivial sized payloads on Ubuntu 24.04.
bsdtar --zstd at zstd:compression-level=19 produces an archive no larger than at level=1 for a compressible payload Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-level-1-vs-19-size-monotonic Passed
Builds a highly compressible 64 KiB payload of repeating bytes, archives it via bsdtar --zstd at zstd:compression-level=1 and zstd:compression-level=19, and asserts the level-19 archive is less than or equal to the level-1 archive in size — pinning libarchive's zstd level monotonicity on compressible input on Ubuntu 24.04.
bsdtar --zstd archives five distinct files and extracts all five with their original contents Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-multi-file-extract-counts Passed
Creates five small text files (f0..f4), bundles them into a single tar.zst archive, extracts and asserts all five files are present with the expected contents — pinning libarchive's multi-member zst extraction on Ubuntu 24.04.
bsdtar --options zstd:compression-level=9 produces an archive that roundtrips with identical sha256 Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-options-level-9-roundtrip Passed
Creates a small tree, archives it with bsdtar --zstd --options zstd:compression-level=9, extracts it into a fresh directory and asserts the per-file SHA-256 of the extracted file equals the source SHA-256 — pinning libarchive's zstd compression-level=9 option through the bsdtar CLI on Ubuntu 24.04.
bsdtar --options zstd:long=25 archive roundtrips and preserves the payload sha256 Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-options-long-25-roundtrip Passed
Creates a small payload, archives it with bsdtar --zstd --options zstd:long=25 (long-range mode), extracts it and asserts the SHA-256 matches the source — pinning libarchive's zstd:long option threading through the bsdtar CLI on Ubuntu 24.04.
bsdtar --zstd reads a tar.zst archive from stdin via redirected file input Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-stdin-stream-roundtrip Passed
Creates a tar.zst archive on disk via bsdtar --zstd, then extracts it by piping the file through stdin (bsdtar --zstd -xf - <archive), and asserts the extracted file's sha256 matches the source — pinning libarchive's stdin-driven tar.zst decode on Ubuntu 24.04.
bsdtar --zstd -tvf lists each member with a permission-bit column matching the source mode Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-tvf-permissions-column-present Passed
Creates a tar.zst archive containing a regular file with mode 0644, lists it with bsdtar --zstd -tvf and asserts the listing's first column for that member matches '-rw-r--r--' — pinning libarchive's zst listing's permission column on Ubuntu 24.04.
bsdtar --zstd output begins with the zstd frame magic 0x28b52ffd Original / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-zst-magic-frame-header Passed
Creates a tar.zst archive with bsdtar --zstd and asserts the first four bytes equal the zstd frame magic number 28 b5 2f fd (little-endian 0xFD2FB528) — pinning libarchive's zstd frame header emission on Ubuntu 24.04.
libarchive tools zstd root directory extract gamma Original / libzstd / usage-libarchive-tools-zstd-rootdir-extract-gamma Passed
Exercises libarchive tools zstd root directory extract gamma through a dependent-client usage scenario.
libarchive-tools zstd root hidden file Original / libzstd / usage-libarchive-tools-zstd-rootdir-hidden-file Passed
Archives and extracts a hidden file under a root directory in a zstd-compressed tar and verifies the restored payload.
libarchive tools zstd root directory list Original / libzstd / usage-libarchive-tools-zstd-rootdir-list Passed
libarchive-tools zstd single extract Original / libzstd / usage-libarchive-tools-zstd-single-file-extract Passed
libarchive tools zstd space directory list Original / libzstd / usage-libarchive-tools-zstd-space-dir-list Passed
libarchive-tools zstd spaced directory Original / libzstd / usage-libarchive-tools-zstd-space-dir Passed
Archives a directory with spaces under zstd compression and verifies the nested file extracts correctly.
libarchive-tools zstd space file extract Original / libzstd / usage-libarchive-tools-zstd-space-file-extract Passed
Extracts a spaced filename from a zstd-compressed tar archive and verifies the restored file payload.
libarchive-tools zstd space file stdout Original / libzstd / usage-libarchive-tools-zstd-space-file-stdout Passed
Streams a spaced filename member from a zstd-compressed tar archive with bsdtar -xOf and verifies the extracted payload.
libarchive-tools zstd spaced root extract Original / libzstd / usage-libarchive-tools-zstd-space-rootdir-extract Passed
libarchive-tools zstd spaced root list Original / libzstd / usage-libarchive-tools-zstd-space-rootdir-list Passed
Lists a zstd-compressed tar whose top-level directory name contains spaces and verifies the nested path.
libarchive-tools zstd spaced filename Original / libzstd / usage-libarchive-tools-zstd-spaced-filename Passed
bsdtar rejects standalone zstd file that is not a tar Original / libzstd / usage-libarchive-tools-zstd-standalone-zst-not-tar Passed
Compresses a raw payload with the zstd CLI to produce a standalone .zst file (no tar inside) and asserts bsdtar -xf refuses to extract it because the decoded byte stream is not a recognized archive format.
libarchive-tools zstd stdout archive Original / libzstd / usage-libarchive-tools-zstd-stdin-archive Passed
libarchive-tools zstd stdin list members Original / libzstd / usage-libarchive-tools-zstd-stdin-list-members Passed
Pipes a zstd-compressed tar archive into bsdtar and verifies the listed member paths from stdin input.
bsdtar zstd create -f - to extract -f - pipe Original / libzstd / usage-libarchive-tools-zstd-stdin-to-stdout-pipe Passed
Creates a zstd-compressed tar on stdout via -cf - and pipes it directly into a second bsdtar -xf - invocation, verifying the payload and frame magic of the captured stream.
libarchive-tools zstd stdout member alpha Original / libzstd / usage-libarchive-tools-zstd-stdout-member-alpha Passed
Streams a single member from a zstd-compressed tar archive with bsdtar -xOf and verifies the extracted payload.
libarchive-tools zstd stdout stream Original / libzstd / usage-libarchive-tools-zstd-stdout-stream Passed
libarchive-tools zstd stream extract Original / libzstd / usage-libarchive-tools-zstd-stream-extract Passed
libarchive-tools zstd stream list Original / libzstd / usage-libarchive-tools-zstd-stream-list Passed
libarchive tools zstd stream member stdout Original / libzstd / usage-libarchive-tools-zstd-stream-member-stdout Passed
libarchive-tools zstd stream subdir list Original / libzstd / usage-libarchive-tools-zstd-stream-subdir-list Passed
Streams a zstd-compressed tar through bsdtar and verifies a nested subdirectory member appears in the listing.
libarchive-tools zstd strip components Original / libzstd / usage-libarchive-tools-zstd-strip-components Passed
libarchive-tools zstd subtree only Original / libzstd / usage-libarchive-tools-zstd-subtree-only Passed
Archives only a nested subtree through zstd compression and verifies unrelated files are omitted.
libarchive tools zstd symlink extract target Original / libzstd / usage-libarchive-tools-zstd-symlink-extract-target Passed
Exercises libarchive tools zstd symlink extract target through a dependent-client usage scenario.
libarchive-tools zstd symlink listing Original / libzstd / usage-libarchive-tools-zstd-symlink-listing Passed
Lists a zstd-compressed archive containing a symbolic link and verifies the link member appears in verbose output.
libarchive-tools zstd symlink Original / libzstd / usage-libarchive-tools-zstd-symlink Passed
libarchive-tools zstd tar extract Original / libzstd / usage-libarchive-tools-zstd-tar-extract Passed
libarchive-tools zstd tar list Original / libzstd / usage-libarchive-tools-zstd-tar-list Passed
bsdtar zstd tiny payload preserves magic Original / libzstd / usage-libarchive-tools-zstd-tiny-payload-magic Passed
Archives a single 7-byte payload with bsdtar --zstd and verifies the resulting frame still carries the 28 b5 2f fd zstd magic and round-trips byte-exact, exercising the small-input path.
libarchive-tools zstd topdir strip one Original / libzstd / usage-libarchive-tools-zstd-topdir-strip-one Passed
Archives a top-level directory under zstd compression and extracts it with one stripped path component.
bsdtar zstd directory tree round-trip Original / libzstd / usage-libarchive-tools-zstd-tree-roundtrip-sha Passed
Compresses a multi-file directory tree with bsdtar --zstd then extracts and verifies every file's sha256 matches the source.
bsdtar zstd verbose listing shows permission columns Original / libzstd / usage-libarchive-tools-zstd-tvf-permissions-listing Passed
Lists a zstd-compressed tar with bsdtar -tvf and verifies the verbose listing exposes the standard ten-column permission string plus the archived filename for each member.
libarchive-tools zstd two space files list Original / libzstd / usage-libarchive-tools-zstd-two-space-files-list Passed
Lists a zstd-compressed tar archive containing a spaced filename and verifies the member path is preserved.
libarchive-tools zstd two topdirs list Original / libzstd / usage-libarchive-tools-zstd-two-topdirs-list Passed
Creates a zstd-compressed tar with two top-level directories and verifies both paths appear in the archive listing.
libarchive-tools zstd verbose exec list Original / libzstd / usage-libarchive-tools-zstd-verbose-exec-list Passed
Lists a zstd-compressed tar archive verbosely and verifies executable permission metadata for a script member.
libarchive-tools zstd verbose list Original / libzstd / usage-libarchive-tools-zstd-verbose-list Passed
CVE-2021-24031 libzstd regression Original / libzstd / cve-2021-24031 Passed
Asserts that the zstd CLI preserves the input file's restrictive permissions on its compressed output instead of creating output with default world-accessible permissions.
CVE-2021-24032 libzstd regression Original / libzstd / cve-2021-24032 Passed
Asserts that the zstd CLI applies restrictive permissions to decompression output as a property of the open call rather than via a post-create chmod that left a race window where output was momentarily world-accessible.
zstd corrupted frame rejection Port / libzstd / corrupted-frame-rejection Passed
zstd dictionary train use Port / libzstd / dictionary-train-use Passed
zstd multi frame behavior Port / libzstd / multi-frame-behavior Passed
libzstd streaming C API smoke Port / libzstd / streaming-c-api-smoke Passed
zstd command round trip Port / libzstd / zstd-compress-decompress Passed
bsdtar zstd uncompressed-then-compressed pipeline Port / libzstd / usage-libarchive-tools-r9-bsdtar-append-mode Passed
Builds a plain tar, then re-encodes through zstd via bsdtar --zstd to produce a zstd-compressed tar, and verifies the resulting archive lists the original member.
bsdtar zstd extract --keep-newer-files Port / libzstd / usage-libarchive-tools-r9-bsdtar-cwd-keep-newer Passed
Extracts a zstd archive over a directory containing a newer copy of a member and asserts --keep-newer-files leaves the existing newer file untouched while extracting the missing one.
bsdtar zstd preserves hardlink relationship Port / libzstd / usage-libarchive-tools-r9-bsdtar-hardlink-roundtrip Passed
Creates a file and a hardlink, archives both into a zstd tar, extracts and asserts the extracted pair shares the same inode (or content) and links count is at least two.
bsdtar zstd extract include glob filter Port / libzstd / usage-libarchive-tools-r9-bsdtar-include-glob Passed
Builds a zstd archive with mixed file extensions and extracts only *.log entries via --include='*.log', verifying matching files are present and other files are absent.
bsdtar zstd numeric-owner listing Port / libzstd / usage-libarchive-tools-r9-bsdtar-numeric-owner Passed
Lists a zstd-compressed archive with --numeric-owner and verifies the owner column contains an integer (uid) rather than a name.
bsdtar zstd writes pax-format archive Port / libzstd / usage-libarchive-tools-r9-bsdtar-pax-format Passed
Creates a zstd-compressed tar in pax format with bsdtar --format=pax and verifies bsdtar -tvf can list the member.
bsdtar zstd archive piped from stdin file list Port / libzstd / usage-libarchive-tools-r9-bsdtar-stdin-pipe-create Passed
Pipes filenames into bsdtar via -T - to build a zstd-compressed archive, then extracts and verifies both files appear in the output directory.
bsdtar zstd extract --strip-components Port / libzstd / usage-libarchive-tools-r9-bsdtar-strip-components Passed
Archives a nested directory tree with bsdtar --zstd and extracts with --strip-components=1, asserting the top-level prefix is removed in the output.
bsdtar zstd preserves a symlink across roundtrip Port / libzstd / usage-libarchive-tools-r9-bsdtar-symlink-restore Passed
Archives a directory containing a symlink with bsdtar --zstd, extracts it elsewhere, and asserts the extracted symlink still points to its original target.
bsdtar zstd --totals reports byte count Port / libzstd / usage-libarchive-tools-r9-bsdtar-totals-stderr Passed
Creates a zstd-compressed archive with --totals and verifies bsdtar prints a 'Total bytes' summary line to stderr containing a digit count.
libarchive-tools zstd extract in cwd Port / libzstd / usage-libarchive-tools-zstd-batch10-cwd-extract Passed
Extracts a zstd archive from the current working directory without -C and verifies the file lands relative to cwd.
libarchive-tools zstd deep nested extract Port / libzstd / usage-libarchive-tools-zstd-batch10-deep-nested-extract Passed
Round-trips a five-level nested file through a zstd tar and verifies the leaf path and payload survive extraction.
libarchive-tools zstd multiple exclude patterns Port / libzstd / usage-libarchive-tools-zstd-batch10-exclude-multi Passed
Builds a zstd tar with two --exclude patterns and verifies only the unmatched member appears in the listing.
libarchive-tools zstd extract two members to stdout Port / libzstd / usage-libarchive-tools-zstd-batch10-extract-multi-stdout Passed
Uses bsdtar -xOf to print two named members from a zstd archive and verifies both payloads appear on stdout.
libarchive-tools zstd extract from stdin pipe Port / libzstd / usage-libarchive-tools-zstd-batch10-extract-stdin-piped Passed
Pipes a zstd archive into bsdtar -xf - via redirection and verifies a deeply nested member is extracted with its payload.
libarchive-tools zstd mixed listing exact count Port / libzstd / usage-libarchive-tools-zstd-batch10-mixed-format-list Passed
Adds three members including a spaced filename to a zstd tar and verifies the listing reports exactly three entries.
libarchive-tools zstd two archives separately Port / libzstd / usage-libarchive-tools-zstd-batch10-multi-archive-list Passed
libarchive-tools zstd nested member checksum Port / libzstd / usage-libarchive-tools-zstd-batch10-roundtrip-checksum Passed
Round-trips a nested file through a zstd tar archive and verifies the SHA-256 of the extracted file matches the source.
libarchive-tools zstd archive to stdout Port / libzstd / usage-libarchive-tools-zstd-batch10-stream-stdout-archive Passed
Streams a zstd-compressed tar to stdout via bsdtar -cf - then lists the resulting archive and verifies both members appear.
libarchive-tools zstd extract with explicit --zstd Port / libzstd / usage-libarchive-tools-zstd-batch10-zstd-decompress-flag Passed
Extracts a zstd archive while passing --zstd to bsdtar -xf and verifies the restored file payload.
bsdtar zstd empty directory Port / libzstd / usage-libarchive-tools-zstd-batch11-empty-directory Passed
bsdtar zstd exclude VCS Port / libzstd / usage-libarchive-tools-zstd-batch11-exclude-vcs Passed
bsdtar zstd file list create Port / libzstd / usage-libarchive-tools-zstd-batch11-filelist-create Passed
bsdtar zstd mode preserved Port / libzstd / usage-libarchive-tools-zstd-batch11-mode-preserved Passed
bsdtar zstd mtime preserved Port / libzstd / usage-libarchive-tools-zstd-batch11-mtime-preserved Passed
bsdtar zstd newer mtime filter Port / libzstd / usage-libarchive-tools-zstd-batch11-newer-mtime Passed
bsdtar zstd null file list Port / libzstd / usage-libarchive-tools-zstd-batch11-null-filelist Passed
bsdtar zstd owner labels Port / libzstd / usage-libarchive-tools-zstd-batch11-owner-labels Passed
Writes custom owner labels into a zstd-compressed tar archive and verifies verbose listing output.
bsdtar zstd transform name Port / libzstd / usage-libarchive-tools-zstd-batch11-transform-name Passed
bsdtar zstd ustar format Port / libzstd / usage-libarchive-tools-zstd-batch11-ustar-format Passed
bsdcpio zstd-filtered cpio archive round-trip Port / libzstd / usage-libarchive-tools-zstd-batch12-bsdcpio-zstd-roundtrip Passed
Builds a cpio archive with bsdcpio piping through the zstd filter via --zstd, verifies the .cpio.zst frame magic, then extracts the archive and asserts the payload sha256 matches the original.
zstd CLI --long=20 round-trip Port / libzstd / usage-libarchive-tools-zstd-batch12-cli-block-size-2m Passed
Compresses a payload with the standalone zstd CLI using --long=20 to enlarge the long-range matcher window to 1 MiB, verifies the .zst frame magic, and decompresses it back through bsdcat to confirm the bytes match.
bsdtar zstd full byte range round-trip Port / libzstd / usage-libarchive-tools-zstd-batch12-full-byte-range-roundtrip Passed
Round-trips a binary file containing every value 0x00 through 0xFF in a fixed permutation through bsdtar --zstd and asserts the sha256 hash matches after extraction, exercising raw byte preservation across the zstd filter.
bsdtar zstd positional include with --exclude exclusion Port / libzstd / usage-libarchive-tools-zstd-batch12-include-exclude-pair Passed
Lists a zstd-compressed tar passing a positional name pattern as the member filter and --exclude to subtract one match, asserting only the included-but-not-excluded member surfaces.
bsdtar zstd -t lists members without emitting content Port / libzstd / usage-libarchive-tools-zstd-batch12-list-o-no-stdout Passed
Lists a zstd-compressed tar with bsdtar -tf and asserts the listing prints the member name on stdout while never leaking the archived payload bytes onto stdout.
zstd CLI decompresses a concatenated multi-frame stream Port / libzstd / usage-libarchive-tools-zstd-batch12-multi-frame-concat Passed
Compresses two separate tar archives with --zstd, concatenates the resulting .tar.zst files with cat to form a single multi-frame zstd stream, decompresses the combined stream with the zstd CLI (which transparently decodes consecutive frames) into a concatenated tar, and verifies bsdtar lists members from both frames in that decoded tar.
bsdtar zstd -p preserves a non-default file mode Port / libzstd / usage-libarchive-tools-zstd-batch12-no-same-permissions Passed
Archives a 0644 file into a zstd-compressed tar, extracts it with bsdtar -p (--same-permissions) under a restrictive umask, and verifies the explicit mode bits stored in the archive override the umask so the extracted file matches the saved 0644 mode rather than being clamped down to the umask-implied default.
bsdtar zstd uid 0 / gid 0 records root labels Port / libzstd / usage-libarchive-tools-zstd-batch12-owner-root-zero Passed
Creates a zstd-compressed tar with --uid 0, --gid 0, --uname root, --gname root and asserts that bsdtar -tvf reports the entry with root/root labels.
bsdtar zstd --to-stdout extracts member contents to stdout Port / libzstd / usage-libarchive-tools-zstd-batch12-to-stdout-flag Passed
Extracts a single member from a zstd-compressed tar using bsdtar's GNU-compatible --to-stdout flag and verifies the payload reaches stdout while the on-disk extraction directory stays empty.
bsdtar zstd compression-level round-trip Port / libzstd / usage-libarchive-tools-zstd-batch12-window-log-20 Passed
Creates a zstd-compressed tar with --options 'zstd:compression-level=20' to drive the encoder at a high level, verifies the frame magic, and confirms a sha256 round-trip through extraction.
bsdtar zstd binary file sha256 round-trip Port / libzstd / usage-libarchive-tools-zstd-binary-sha256-roundtrip Passed
Round-trips a binary file with non-printable bytes through bsdtar --zstd and asserts the sha256 hash matches the original.
bsdcat reads zstd-compressed tar Port / libzstd / usage-libarchive-tools-zstd-bsdcat-frame-decompress Passed
Compresses a tar with bsdtar --zstd then streams it through bsdcat and verifies a known member payload appears in the output.
bsdcpio odc format with zstd-compressed wrapper Port / libzstd / usage-libarchive-tools-zstd-bsdcpio-odc-format Passed
Creates a cpio archive in the odc (POSIX.1) format with bsdcpio, compresses it with the standalone zstd CLI (the bsdcpio --zstd output filter is known to silently drop the trailing frame), then extracts the archive and asserts the payload round-trips by sha256.
bsdtar -caf auto-selects zstd from .tar.zst suffix Port / libzstd / usage-libarchive-tools-zstd-bsdtar-caf-auto-roundtrip Passed
Builds a tree, asks bsdtar to create an archive with -caf and a .tar.zst suffix so the auto-compress path picks the libarchive zstd writer, asserts the zstd frame magic, lists members, and round-trips to a sha256-identical extract.
bsdtar zstd compression-level=15 round-trip Port / libzstd / usage-libarchive-tools-zstd-bsdtar-compression-level-15 Passed
Creates a zstd-compressed tar via bsdtar with --options 'zstd:compression-level=15' to drive the encoder at a high mid-tier level, verifies the archive's zstd frame magic, and confirms a sha256 round-trip after extraction.
bsdtar zstd compression-level=7 mid-tier Port / libzstd / usage-libarchive-tools-zstd-bsdtar-compression-level-7 Passed
Creates a zstd-compressed tar with bsdtar --options 'zstd:compression-level=7' to exercise the mid-tier libarchive level wiring, asserts the output carries the zstd magic, lists cleanly, and extracts to a sha256-identical copy of the source payload.
bsdtar zstd extract from /dev/stdin path Port / libzstd / usage-libarchive-tools-zstd-bsdtar-dev-stdin-extract Passed
Pipes a zstd-compressed tar into bsdtar with the archive path written explicitly as /dev/stdin (rather than the bare '-' alias) and verifies that the extracted tree round-trips by sha256, exercising libarchive's auto-detection of the zstd filter on a stdin-backed character device.
bsdtar --zstd archives a fifo entry Port / libzstd / usage-libarchive-tools-zstd-bsdtar-fifo-entry Passed
Creates a named pipe (fifo) plus a regular file, archives them with bsdtar --zstd, extracts into a clean directory, and asserts the extracted entry is still a fifo (per stat -c %F) and the regular sibling round-trips by sha256.
bsdtar --zstd preserves hardlink linkage Port / libzstd / usage-libarchive-tools-zstd-bsdtar-hardlink-preservation Passed
Builds a tree with a hardlinked file pair, archives it with bsdtar --zstd, extracts to a fresh directory, and asserts the extracted pair shares an inode (libarchive recreated the hardlink) and both files contain the original payload.
bsdtar --zstd over a 50-file directory tree Port / libzstd / usage-libarchive-tools-zstd-bsdtar-large-directory-50-files Passed
Builds a directory of 50 distinct text files, archives the whole tree with bsdtar --zstd, extracts it into a fresh location, and asserts every member round-trips with matching sha256.
bsdtar --zstd round-trips a long filename Port / libzstd / usage-libarchive-tools-zstd-bsdtar-long-filename Passed
Creates a file whose basename is well over the legacy 100-byte ustar name field limit (but still under ext4's 255-byte filename limit, so the source file can actually be created on disk), archives it with bsdtar --zstd (which falls back to the pax format for long names), extracts into a clean directory, and asserts the extracted basename and payload sha256 match the source.
bsdtar zstd:compression-level=22 max-tier round-trip Port / libzstd / usage-libarchive-tools-zstd-bsdtar-options-level-22 Passed
Creates a zstd-compressed tar with bsdtar --options 'zstd:compression-level=22' to drive the libarchive zstd encoder at the maximum ultra level, asserts the resulting archive carries the zstd frame magic, lists cleanly, extracts byte-for-byte, and is no larger than a default-level archive of the same payload.
bsdtar zstd:threads=2 multi-worker create Port / libzstd / usage-libarchive-tools-zstd-bsdtar-options-threads-2 Passed
Creates a zstd-compressed tar with bsdtar --options 'zstd:threads=2' to drive the libarchive zstd writer with two worker threads, asserts the output carries the zstd magic, lists cleanly, and extracts to a sha256-identical copy of the source tree.
bsdtar plain tar piped through zstd CLI then back Port / libzstd / usage-libarchive-tools-zstd-bsdtar-pipe-zstd-cli Passed
Exercises the cross-tool pipeline that uses bsdtar to write a plain tar to stdout, the zstd CLI to compress that stream into a .tar.zst, and bsdtar again to list and extract the result so the libarchive reader and the zstd CLI compressor are validated together with a sha256 round-trip.
bsdtar zstd round-trip with a sparse file Port / libzstd / usage-libarchive-tools-zstd-bsdtar-sparse-file Passed
Builds a sparse file (1 MiB logical size with a small data segment near the end and an explicit hole at the front), archives it through bsdtar --zstd, extracts to a fresh directory, and verifies that the extracted file has the same logical size, the same sha256 byte content (holes read as zeros) and that the data segment near the end is preserved verbatim.
bsdtar zstd round-trip preserves suid bit in entry header Port / libzstd / usage-libarchive-tools-zstd-bsdtar-suid-preserved Passed
Creates a regular file with the setuid bit set (mode 4755), archives it through bsdtar --zstd, and verifies that the verbose tar listing of the resulting zstd-compressed archive records the 's' suid character in the mode column. Also asserts the frame magic and that the file payload round-trips byte-for-byte after extraction.
bsdtar -tvf zst archive shows mode and size fields Port / libzstd / usage-libarchive-tools-zstd-bsdtar-tvf-listing-fields Passed
Creates a zstd-compressed tar with bsdtar containing a known regular file, runs bsdtar -tvf and asserts the verbose listing carries a regular-file mode prefix, the literal byte size of the input, and the member basename so the libzstd-backed listing pipeline is exercised end to end.
libarchive-tools zstd checksum compare Port / libzstd / usage-libarchive-tools-zstd-checksum-compare Passed
zstd CLI --adapt adaptive compression level Port / libzstd / usage-libarchive-tools-zstd-cli-adapt-mode Passed
Compresses a payload with --adapt so the zstd CLI dynamically tunes its compression level to I/O conditions, verifies the output frame carries the zstd magic, passes -t integrity, decodes byte-for-byte to the original input, and that the adaptive frame is strictly smaller than the source for repetitive data.
zstd CLI --check appends xxhash trailer Port / libzstd / usage-libarchive-tools-zstd-cli-check-xxhash-trailer Passed
Compresses the same payload twice with the zstd CLI, once with --no-check and once with --check, asserts the --check output is at least four bytes longer to account for the trailing XXH64 content checksum and that both variants pass -t and decode byte-for-byte to the original input.
zstd CLI decodes concatenated raw frames (no tar) Port / libzstd / usage-libarchive-tools-zstd-cli-concatenated-frames-decode Passed
Compresses two distinct payloads with the zstd CLI, concatenates the resulting raw .zst files into a single multi-frame stream, verifies both frames pass zstd -t and that zstd -d produces the byte-for-byte concatenation of the original payloads.
zstd CLI -dc decodes multiple files at once to stdout Port / libzstd / usage-libarchive-tools-zstd-cli-dc-multiple-files Passed
Compresses three distinct payloads into independent .zst frames and then invokes 'zstd -dc a.zst b.zst c.zst' so the CLI decodes all three in a single command and concatenates them on stdout. Verifies that the concatenated stdout output matches the byte-for-byte concatenation of the original sources.
zstd CLI -d -k preserves the .zst on decompress Port / libzstd / usage-libarchive-tools-zstd-cli-decompress-keep-preserves-zst Passed
Compresses a payload, then decompresses it with the zstd CLI using -d -k and asserts the .zst input is preserved with its sha256 unchanged while the decoded output matches the original byte stream.
zstd CLI -d -o explicit decompress output path Port / libzstd / usage-libarchive-tools-zstd-cli-decompress-output-flag Passed
Compresses a payload, removes the source, and decompresses with zstd -d -o pointing at an arbitrary destination path that does not match the .zst stem, asserts the destination is created, has the original byte-for-byte content, and that the compressed input is preserved by the default --keep behavior.
bsdtar create piped through zstd CLI -d Port / libzstd / usage-libarchive-tools-zstd-cli-decompress-pipe Passed
Pipes a bsdtar --zstd archive on stdout into the standalone zstd CLI's decompressor and verifies the decoded byte stream is a valid uncompressed tar containing the expected member.
zstd CLI -D dictionary-based round-trip Port / libzstd / usage-libarchive-tools-zstd-cli-dict-roundtrip Passed
Trains a zstd dictionary from a sample corpus then compresses and decompresses an unseen but similar payload using -D <dict>, asserting the dict-compressed frame requires the same dictionary at decode time and that the decoded bytes match the original input byte-for-byte.
zstd CLI -f force overwrite of existing output Port / libzstd / usage-libarchive-tools-zstd-cli-force-overwrite Passed
Compresses a payload with the zstd CLI to a target path that already exists, confirms that without -f the CLI refuses to clobber, and that re-running with -f succeeds and the resulting frame round-trips to the new payload.
zstd CLI --format=gzip emits a gzip stream Port / libzstd / usage-libarchive-tools-zstd-cli-format-gzip Passed
Compresses a payload with the zstd CLI using --format=gzip, verifies the output carries the canonical 1f 8b gzip magic (not the zstd 28 b5 2f fd magic), decodes byte-for-byte through gunzip, and asserts the same payload survives a default zstd round-trip for comparison.
zstd CLI --format=lz4 emits an lz4 frame Port / libzstd / usage-libarchive-tools-zstd-cli-format-lz4 Passed
Compresses a payload with the zstd CLI using --format=lz4, asserts the resulting file carries the lz4 frame magic 04 22 4d 18 (not the zstd magic), and decompresses byte-for-byte back to the source through zstd -d so the lz4 codepath compiled into the CLI is validated end to end.
zstd CLI -k preserves source on compress Port / libzstd / usage-libarchive-tools-zstd-cli-keep-preserves-source Passed
Compresses a payload with the standalone zstd CLI using -k, asserts the original source file still exists with its sha256 unchanged, the .zst output carries the zstd magic, and the frame round-trips back to the same bytes.
zstd CLI -1 vs -19 size differences on compressible payload Port / libzstd / usage-libarchive-tools-zstd-cli-level-1-vs-19-size-diff Passed
Compresses the same highly compressible payload with zstd -1 (fastest) and zstd -19 (high ratio), confirms both frames carry the zstd magic, both decompress back to the original byte stream, and the -19 output is no larger than the -1 output (and meaningfully smaller than the source).
zstd CLI -3 default level explicit Port / libzstd / usage-libarchive-tools-zstd-cli-level-3-explicit Passed
Compresses a payload with the standalone zstd CLI passing -3 explicitly (the documented default level), verifies the resulting frame carries the zstd magic, passes -t integrity, and decodes byte-for-byte to the original input.
zstd CLI -8 explicit mid level compression Port / libzstd / usage-libarchive-tools-zstd-cli-level-8-explicit Passed
Compresses a repetitive payload with the standalone zstd CLI driving the encoder at level 8 (a mid-range tier between the documented -3 default and the long-mode -19 ceiling), verifies the resulting frame carries the zstd magic, passes -t integrity, decodes byte-for-byte to the original input, and produces strictly smaller output than the source.
zstd CLI --list reports frame metadata Port / libzstd / usage-libarchive-tools-zstd-cli-list-frame-info Passed
Compresses a known payload with the zstd CLI then runs zstd --list on the output, asserts the listing is non-empty and references the input filename so the frame metadata reader is exercised end-to-end.
zstd CLI --long=23 expanded window Port / libzstd / usage-libarchive-tools-zstd-cli-long-23-mode Passed
Compresses a payload with the standalone zstd CLI in long-range mode at window log 23 via --long=23, asserts the resulting frame carries the zstd magic, decodes with a matching --long=23 decoder budget, and round-trips byte-for-byte to the original input.
zstd CLI --long=27 long-range mode round-trip Port / libzstd / usage-libarchive-tools-zstd-cli-long-27-flag Passed
Compresses a payload via the standalone zstd CLI with --long=27 long-range mode, asserts the resulting frame carries the zstd magic and passes -t, and verifies it decompresses byte-for-byte back to the original input.
zstd CLI --maxdict caps the trained dictionary Port / libzstd / usage-libarchive-tools-zstd-cli-maxdict-trained Passed
Generates a varied text corpus and runs zstd --train twice with --maxdict=4096 and --maxdict=65536, verifies both dictionaries are produced with non-zero size, asserts the small dictionary's byte size respects the 4096 cap, and that the large-cap run is at least as big as the small-cap run so the limit is observed.
zstd CLI --memory=64MB decode memlimit Port / libzstd / usage-libarchive-tools-zstd-cli-memory-limit-decode Passed
Compresses a small payload with the zstd CLI, then decompresses it with --memory=64MB to set the decoder memory budget well above the frame's window requirement, asserting the decoded bytes match the original byte-for-byte.
zstd CLI --no-check disables content checksum Port / libzstd / usage-libarchive-tools-zstd-cli-no-check-disables-checksum Passed
Compresses the same payload twice with the zstd CLI, once with the default content checksum and once with --no-check, verifies the no-check variant is no larger than the default and that both decompress back to the original byte stream.
zstd CLI --no-content-size omits decompressed size Port / libzstd / usage-libarchive-tools-zstd-cli-no-content-size-flag Passed
Compresses the same payload twice with the zstd CLI - once with the default frame header and once with --no-content-size - asserts both round-trip cleanly via -d and -t and that the no-content-size variant is no larger than the default since the frame content size field is omitted.
zstd CLI --no-progress suppresses progress counter Port / libzstd / usage-libarchive-tools-zstd-cli-no-progress Passed
Compresses a payload with 'zstd --no-progress' to forcibly hide the progress counter even when stderr is a terminal-like context, verifies the resulting frame still carries the zstd magic, passes integrity testing, decodes byte-for-byte to the source, and confirms stderr does not contain the carriage-return-driven progress redraw markers (\r) that the counter normally emits.
zstd CLI --output-dir-flat collects outputs in one directory Port / libzstd / usage-libarchive-tools-zstd-cli-output-dir-flat Passed
Compresses several input files from different subdirectories with --output-dir-flat=DIR and asserts each .zst output lands directly in the flat target directory (without recreating the source tree), each carries the zstd magic, and each round-trips byte-for-byte to its source.
zstd CLI -q quiet suppresses summary banner Port / libzstd / usage-libarchive-tools-zstd-cli-quiet-no-banner Passed
Compresses a payload twice, first with the default zstd CLI (which prints a per-file summary banner showing the compression ratio on stderr) and then with -q, and verifies that the quiet invocation produces empty stderr while still emitting an identical compressed frame that round-trips byte-for-byte.
zstd CLI -t test mode validates good vs tampered frames Port / libzstd / usage-libarchive-tools-zstd-cli-rm-keep-conflict Passed
zstd accepts --rm and --keep together (they are not mutually exclusive on this CLI; --keep wins so the source file survives), so instead this case exercises zstd -t (test mode) which is the canonical integrity-validation behaviour: zstd -t must succeed on a freshly compressed file and must fail with a non-zero exit when a single ciphertext byte has been flipped.
zstd CLI --rm removes the source after success Port / libzstd / usage-libarchive-tools-zstd-cli-rm-removes-source Passed
Compresses a payload with the zstd CLI using --rm, verifies the .zst output exists with the zstd magic and round-trips to the original byte stream, and asserts the original source file was removed by the CLI.
zstd CLI --rsyncable mode round-trip Port / libzstd / usage-libarchive-tools-zstd-cli-rsyncable-mode Passed
Compresses a payload with --rsyncable so the encoder emits a stream tuned for rsync-friendly chunk boundaries, verifies the resulting frame carries the zstd magic, passes -t integrity, and decodes byte-for-byte to the original source.
zstd CLI --show-default-cparams emits expected parameter rows Port / libzstd / usage-libarchive-tools-zstd-cli-show-default-cparams Passed
Compresses a known-size payload with --show-default-cparams and asserts the diagnostic banner contains the windowLog/chainLog/hashLog/searchLog/strategy fields and that the underlying compression still produces a valid zstd frame that round-trips byte-for-byte.
zstd CLI -t test integrity on a valid file Port / libzstd / usage-libarchive-tools-zstd-cli-test-integrity-flag Passed
Compresses a payload with the zstd CLI, then verifies the resulting frame passes the zstd -t (test) integrity check while a deliberately corrupted copy fails the same check.
zstd CLI -T0 auto-detect worker count Port / libzstd / usage-libarchive-tools-zstd-cli-threads-t0-auto Passed
Compresses a payload with the standalone zstd CLI invoked as -T0 so the encoder selects the worker count from the available CPU topology, asserts the resulting frame carries the zstd magic, passes -t integrity, and decodes byte-for-byte to the original input.
zstd CLI -T2 explicit worker count Port / libzstd / usage-libarchive-tools-zstd-cli-threads-t2-explicit Passed
Compresses a payload with the standalone zstd CLI invoked as -T2 to pin two encoder workers, asserts the resulting frame carries the zstd magic, passes -t integrity, and decodes byte-for-byte to the original input.
zstd CLI --train builds dictionary from samples Port / libzstd / usage-libarchive-tools-zstd-cli-train-dictionary Passed
Generates many small varied sample files, runs zstd --train on the sample directory to produce a dictionary file, and asserts the dictionary has non-zero size and starts with one of the documented zstd dictionary magic prefixes (0xEC30A437 trained or 0x28B52FFD raw content).
zstd CLI --ultra unlocks level 22 Port / libzstd / usage-libarchive-tools-zstd-cli-ultra-level-22 Passed
Compresses a payload with the standalone zstd CLI at the maximum level via --ultra -22, asserts the resulting frame carries the zstd magic, passes -t, and round-trips byte-for-byte to the original input.
libarchive-tools zstd copy mode Port / libzstd / usage-libarchive-tools-zstd-copy-mode Passed
libarchive-tools zstd directory only Port / libzstd / usage-libarchive-tools-zstd-directory-only Passed
libarchive-tools zstd dotdir entry Port / libzstd / usage-libarchive-tools-zstd-dotdir-entry Passed
Archives a hidden directory tree with zstd compression and verifies hidden nested files extract correctly.
libarchive-tools zstd dotdir subtree Port / libzstd / usage-libarchive-tools-zstd-dotdir-subtree Passed
Archives a hidden subtree under zstd compression and verifies the nested member path appears in the archive listing.
libarchive-tools zstd dotfile stdout Port / libzstd / usage-libarchive-tools-zstd-dotfile-stdout Passed
Streams a hidden file member from a zstd-compressed tar archive with bsdtar -xOf and verifies the extracted payload.
libarchive tools zstd dotfile stream extract Port / libzstd / usage-libarchive-tools-zstd-dotfile-stream-extract Passed
Exercises libarchive tools zstd dotfile stream extract through a dependent-client usage scenario.
libarchive-tools zstd dotfile Port / libzstd / usage-libarchive-tools-zstd-dotfile Passed
libarchive-tools zstd double strip components Port / libzstd / usage-libarchive-tools-zstd-double-strip-components Passed
Extracts a deeply nested member from a zstd-compressed tar with multiple stripped path components.
libarchive-tools zstd empty dir Port / libzstd / usage-libarchive-tools-zstd-empty-dir Passed
libarchive-tools zstd empty file size Port / libzstd / usage-libarchive-tools-zstd-empty-file-size Passed
Lists a zstd-compressed tar archive verbosely and verifies that an empty member is reported with zero size.
libarchive-tools zstd empty file Port / libzstd / usage-libarchive-tools-zstd-empty-file Passed
libarchive tools zstd empty subdirectory extract Port / libzstd / usage-libarchive-tools-zstd-empty-subdir-extract Passed
Exercises libarchive tools zstd empty subdirectory extract through a dependent-client usage scenario.
libarchive-tools zstd exclude pattern Port / libzstd / usage-libarchive-tools-zstd-exclude-pattern Passed
libarchive-tools zstd extract dotfile Port / libzstd / usage-libarchive-tools-zstd-extract-dotfile Passed
Extracts only a hidden file from a zstd-compressed archive and verifies nonselected members are left out.
bsdtar zstd -xpf preserves multiple permission bit patterns Port / libzstd / usage-libarchive-tools-zstd-extract-p-multi-modes Passed
Archives several files carrying distinct permission bit patterns into a zstd-compressed tar and asserts that bsdtar -xpf restores each member's exact octal mode rather than only the executable bit.
libarchive-tools zstd extract specific member Port / libzstd / usage-libarchive-tools-zstd-extract-specific-member Passed
Extracts a single named member from a zstd-compressed tar archive and verifies the restored file payload.
libarchive-tools zstd extract to stdout Port / libzstd / usage-libarchive-tools-zstd-extract-stdout Passed
libarchive-tools zstd extract two members Port / libzstd / usage-libarchive-tools-zstd-extract-two-members Passed
Extracts two selected members from a zstd-compressed tar and verifies only the requested files are restored.
libarchive-tools zstd filelist dotfile Port / libzstd / usage-libarchive-tools-zstd-filelist-dotfile Passed
Builds a zstd-compressed tar from a file list containing a dotfile and verifies both listed members are present.
libarchive-tools zstd file list input Port / libzstd / usage-libarchive-tools-zstd-filelist-input Passed
libarchive tools zstd file list spaced name Port / libzstd / usage-libarchive-tools-zstd-filelist-space-name Passed
Exercises libarchive tools zstd file list spaced name through a dependent-client usage scenario.
libarchive-tools zstd file list stdin Port / libzstd / usage-libarchive-tools-zstd-filelist-stdin Passed
Feeds a bsdtar file list over stdin while creating a zstd-compressed archive and verifies the selected members.
libarchive-tools zstd filter auto Port / libzstd / usage-libarchive-tools-zstd-filter-auto Passed
bsdtar reads zstd archive made by zstd CLI Port / libzstd / usage-libarchive-tools-zstd-gnu-tar-interop Passed
Builds a tar with system tar, compresses it with the zstd CLI, then has bsdtar via libzstd extract it and validates payload sha256.
libarchive tools zstd hardlink extract compare Port / libzstd / usage-libarchive-tools-zstd-hardlink-extract-compare Passed
Exercises libarchive tools zstd hardlink extract compare through a dependent-client usage scenario.
libarchive-tools zstd hardlink listing Port / libzstd / usage-libarchive-tools-zstd-hardlink-listing Passed
Lists a zstd-compressed archive containing a hard link and verifies the linked member appears in verbose output.
libarchive-tools zstd hardlink pair Port / libzstd / usage-libarchive-tools-zstd-hardlink-pair Passed
Archives and extracts hardlinked files through zstd compression and checks their content matches.
libarchive-tools zstd hidden and visible list Port / libzstd / usage-libarchive-tools-zstd-hidden-and-visible-list Passed
Archives a hidden file and a visible file together in a zstd-compressed tar and verifies both entries appear in the listing.
libarchive tools zstd hidden visible list Port / libzstd / usage-libarchive-tools-zstd-hidden-visible-list Passed
libarchive-tools zstd large file Port / libzstd / usage-libarchive-tools-zstd-large-file Passed
libarchive-tools zstd leading dash filename Port / libzstd / usage-libarchive-tools-zstd-leading-dash Passed
bsdtar zstd default level frame magic Port / libzstd / usage-libarchive-tools-zstd-magic-default-level Passed
Verifies bsdtar --zstd at default level emits a zstd frame whose first four bytes are the 28 b5 2f fd magic number.
libarchive-tools zstd member count three plus Port / libzstd / usage-libarchive-tools-zstd-member-count-three-plus Passed
Lists a zstd-compressed tar archive and verifies that the archive contains multiple members beyond a minimal threshold.
libarchive-tools zstd member order Port / libzstd / usage-libarchive-tools-zstd-member-order Passed
Creates a zstd-compressed archive with a specific member order and verifies bsdtar list mode preserves that order.
libarchive-tools zstd metadata list Port / libzstd / usage-libarchive-tools-zstd-metadata-list Passed
libarchive-tools zstd multiple empty files Port / libzstd / usage-libarchive-tools-zstd-multi-empty-files Passed
Archives multiple empty files under zstd compression and verifies both extracted files remain zero bytes.
bsdtar zstd multi-file selective extract via -T Port / libzstd / usage-libarchive-tools-zstd-multi-file-list-extract Passed
Creates a multi-file zstd-compressed tar then extracts only the members named in a newline-delimited file list passed via -T and verifies that listed members are restored while unlisted members are not.
libarchive-tools zstd multi-file Port / libzstd / usage-libarchive-tools-zstd-multi-file Passed
libarchive-tools zstd nested extract Port / libzstd / usage-libarchive-tools-zstd-nested-extract Passed
libarchive-tools zstd nested spaced file Port / libzstd / usage-libarchive-tools-zstd-nested-space-file Passed
Archives and extracts a nested filename containing spaces in a zstd-compressed tar and verifies the restored payload.
bsdtar zstd compression-level option round-trip Port / libzstd / usage-libarchive-tools-zstd-options-checksum-flag Passed
Creates a zstd-compressed tar with an explicit zstd:compression-level option and verifies the frame magic and a sha256 round-trip.
bsdtar zstd multiple --options separated by commas Port / libzstd / usage-libarchive-tools-zstd-options-comma-multi Passed
Creates a zstd-compressed tar with two zstd writer options joined into a single comma-separated --options value (compression-level=5,zstd:long=24) and verifies the resulting archive round-trips byte-for-byte.
bsdtar zstd compression-level 1 tiny archive Port / libzstd / usage-libarchive-tools-zstd-options-level-1-tiny Passed
Creates a zstd-compressed tar at compression level 1 (the fastest level) over a very small payload and verifies the frame magic plus a sha256 round-trip.
bsdtar zstd compression-level 11 Port / libzstd / usage-libarchive-tools-zstd-options-level-11 Passed
Creates a zstd-compressed tar with bsdtar using --options 'zstd:compression-level=11' (a mid-range level), verifies the archive magic, then extracts and asserts the payload round-trips by sha256.
bsdtar zstd compression-level 19 Port / libzstd / usage-libarchive-tools-zstd-options-level-19 Passed
Creates a zstd-compressed tar at --options zstd:compression-level=19 and verifies sha256 round-trip equality.
bsdtar zstd compression-level 22 Port / libzstd / usage-libarchive-tools-zstd-options-level-22 Passed
Creates a zstd-compressed tar at the maximum --options zstd:compression-level=22 and verifies round-trip integrity.
bsdtar zstd compression-level 3 Port / libzstd / usage-libarchive-tools-zstd-options-level-3 Passed
Creates a zstd-compressed tar with --options zstd:compression-level=3 and round-trips the payload back.
bsdtar zstd long-range mode 25 round-trip Port / libzstd / usage-libarchive-tools-zstd-options-long-25-roundtrip Passed
Creates a zstd-compressed tar with --options 'zstd:long=25,zstd:compression-level=5' to combine long-range encoding with a non-default level and verifies the frame magic plus a sha256 round-trip.
bsdtar zstd long-range mode 27 Port / libzstd / usage-libarchive-tools-zstd-options-long-27 Passed
Creates a zstd-compressed tar with --options zstd:long=27 long-range mode and verifies round-trip integrity.
bsdtar zstd single-thread option Port / libzstd / usage-libarchive-tools-zstd-options-threads-1 Passed
Creates a zstd-compressed tar with --options 'zstd:threads=1' to force single-threaded encoding and verifies the frame magic plus a sha256 round-trip.
libarchive-tools zstd overwrite existing Port / libzstd / usage-libarchive-tools-zstd-overwrite-existing Passed
Extracts a zstd-compressed tar archive over an existing file and verifies the archived content wins.
libarchive-tools zstd preserve permissions Port / libzstd / usage-libarchive-tools-zstd-preserve-permissions Passed
bsdtar zstd --exclude-from filters by pattern file Port / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-exclude-from-file Passed
Creates a zstd archive while feeding bsdtar an --exclude-from file containing two glob patterns, then verifies the listing omits matching entries while the non-excluded member is preserved.
bsdtar zstd writes gnutar-format archive Port / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-format-gnutar Passed
Builds a zstd-compressed tar with --format=gnutar so the GNU tar dialect drives the writer, then asserts the zstd frame magic and the named member appears in the verbose listing after extraction round-trip.
bsdtar zstd writes v7 short-name archive Port / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-format-v7-shortname Passed
Creates a zstd-compressed tar in the legacy V7 format using --format=v7, then asserts the zstd frame magic and that bsdtar can list and extract the short-named member back to a byte-identical file.
bsdtar zstd extract -k preserves existing files Port / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-keep-old-files Passed
Pre-populates an output file then extracts a zstd archive with -k (keep-old-files), asserting bsdtar leaves the original on-disk content in place rather than overwriting it with the archive payload.
bsdtar zstd applies two -s substitution rules Port / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-multi-substitute Passed
Creates a zstd-compressed tar with two chained -s path-rewrite rules, then asserts the listing reflects both rewrites and that the originally-named entries no longer appear in the archive.
bsdtar zstd --no-xattrs create round-trip Port / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-no-xattrs-create Passed
Creates a zstd-compressed tar with --no-xattrs to suppress xattr capture (libarchive accepts it regardless of fs xattr support), asserts the zstd magic, and confirms the payload sha256 round-trips through extraction.
bsdtar zstd extract -U overwrites pre-existing destination content Port / libzstd / usage-libarchive-tools-zstd-r10-bsdtar-unlink-first Passed
Pre-populates the destination file with stale content then extracts a zstd archive with -U (unlink-first), asserting bsdtar overwrites the stale bytes so the destination sha256 matches the source archive payload.
zstd CLI --fast=1 negative-level encode Port / libzstd / usage-libarchive-tools-zstd-r10-zstd-cli-fast-mode-1 Passed
Compresses a repeating payload with zstd --fast=1 to drive the negative-level fast encoder, verifies the .zst frame magic, and confirms the payload sha256 round-trips through decompression.
zstd CLI --list -v reports frame statistics Port / libzstd / usage-libarchive-tools-zstd-r10-zstd-cli-list-verbose-stats Passed
Compresses a sized payload, runs zstd --list -v on the resulting frame, and asserts the verbose listing exposes both the decompressed-size and ratio fields with the original byte count.
zstd CLI --output-dir-mirror preserves source tree Port / libzstd / usage-libarchive-tools-zstd-r10-zstd-cli-output-dir-mirror Passed
Compresses two files in nested source directories with zstd --output-dir-mirror, asserts the mirrored .zst tree appears under the destination, and decompresses one of the mirrored files to confirm the payload sha256 matches the source.
bsdtar --zstd -P preserves the leading slash in pathnames Port / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-absolute-path-flag Passed
Builds a zstd tar with -P from an absolute file path and verifies the recorded entry name retains its leading slash in the verbose listing instead of being silently stripped.
bsdtar --zstd compression-level 19 produces valid frame and round-trips Port / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-compression-level-19 Passed
Compresses a 200-line repeating payload with --options 'zstd:compression-level=19' and verifies the output starts with the zstd magic, --list reports a single frame, and extraction reproduces the input byte-for-byte.
bsdtar --zstd verbose listing reports hardlink relationship Port / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-hardlink-listing Passed
Builds a zstd tar containing two hardlinked entries to the same inode and verifies bsdtar -tvf annotates the second entry with a "link to" reference back to the first.
bsdtar --include filters extraction by glob from a zstd archive Port / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-include-glob-extract Passed
Builds a zstd tar containing two .log files and one .txt, extracts with --include='*.log', and verifies only the matching log files are written and the .txt entry is skipped.
bsdtar --zstd extract --no-same-owner restores files as the extractor Port / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-no-same-owner-extract Passed
Builds a zstd tar with explicit uid=0 owner, extracts with --no-same-owner, and verifies the resulting file is owned by the current process user/group rather than root.
bsdtar --zstd --uid=0 --gid=0 records numeric zero owner Port / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-numeric-uid-gid Passed
Builds a zstd tar with --uid=0 --gid=0 to override the owner numerics, then asserts the verbose listing reports a 0/0 numeric pair regardless of the host user identity.
bsdtar --zstd --format=pax pairs zstd compression with pax tar Port / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-pax-format-zstd Passed
Builds a zstd-compressed pax-format tar containing a long-pathname member exceeding the ustar 100-byte limit and verifies bsdtar reads the pax extended header back to recover the full path on extract.
bsdtar --zstd extract with --strip-components collapses leading directory Port / libzstd / usage-libarchive-tools-zstd-r11-bsdtar-strip-components Passed
Builds a zstd tar containing files under sub/, extracts with --strip-components=1, and verifies the leading sub/ prefix is removed so the files land directly under the output root.
zstd --no-check omits the frame checksum reported by --list Port / libzstd / usage-libarchive-tools-zstd-r11-zstd-cli-no-check Passed
Compresses with --no-check and asserts the zstd --list summary reports Check column "None" instead of the default XXH64 trailer, while the output still round-trips on decode.
zstd --rsyncable produces a valid stream that round-trips Port / libzstd / usage-libarchive-tools-zstd-r11-zstd-cli-rsyncable Passed
Compresses 64 KiB of random bytes with the zstd CLI in --rsyncable mode and verifies the resulting frame passes integrity check (zstd -t) and decompresses byte-equal to the input.
bsdtar --zstd --newer-mtime skips files older than the cutoff timestamp Port / libzstd / usage-libarchive-tools-zstd-r12-bsdtar-newer-than-filter Passed
Builds a directory with one old and one fresh file, archives with bsdtar --zstd --newer-mtime set between their mtimes, and asserts the resulting zstd tar lists only the fresh file.
bsdtar --zstd --uname/--gname rewrite the recorded owner labels Port / libzstd / usage-libarchive-tools-zstd-r12-bsdtar-uname-override Passed
Creates a small file, archives it with bsdtar --zstd plus --uname=root and --gname=root to force the owner labels in the archive header, and asserts the verbose listing shows the requested owner/group names regardless of the calling user.
zstd -d on file.zst writes the decoded output to file with the suffix stripped Port / libzstd / usage-libarchive-tools-zstd-r12-cli-decompress-suffix-strip Passed
Compresses an input named payload.bin to payload.bin.zst, removes the original, decodes with zstd -d, and asserts the recovered file is named payload.bin (the .zst suffix stripped) and matches the original byte stream.
zstd -D round-trip uses the trained dictionary on encode and decode Port / libzstd / usage-libarchive-tools-zstd-r12-cli-dict-decompress-roundtrip Passed
Trains a small dictionary from synthetic samples, compresses an unrelated input with -D dict, and decodes it with -D dict to confirm the dictionary-bound encoder and decoder reconstruct the input byte-for-byte.
zstd -f overwrites an existing destination file silently Port / libzstd / usage-libarchive-tools-zstd-r12-cli-force-overwrite-output Passed
Pre-creates a destination file containing a sentinel string, runs zstd -f to encode a fresh payload to that path, and asserts the destination is replaced by a real zstd frame whose decode matches the source.
zstd CLI -l --no-progress lists header info with the original byte count Port / libzstd / usage-libarchive-tools-zstd-r12-cli-list-machine-readable Passed
Compresses a payload of known size, runs zstd -l on the resulting frame, and asserts the listing reports the canonical column header line and the exact decompressed byte count.
zstd -qq suppresses the "compressed" summary line printed by default Port / libzstd / usage-libarchive-tools-zstd-r12-cli-quiet-suppresses-stderr Passed
Compresses a payload with default verbosity, with -q, and with -qq, and asserts each progressively quieter mode strips lines: default may print, -q stays silent on success, and -qq matches -q with no diagnostic stderr output.
zstd -d --rm removes the .zst source after a successful decode Port / libzstd / usage-libarchive-tools-zstd-r12-cli-rm-after-decode Passed
Compresses an input, then decodes with --rm and asserts the source .zst file is removed while the recovered plaintext exists and matches the original byte stream.
zstd -c writes the compressed frame to stdout without touching the source Port / libzstd / usage-libarchive-tools-zstd-r12-cli-stdout-flag-c Passed
Runs zstd -c to encode a file to stdout, captures the bytes via shell redirection, and asserts the source file is preserved on disk while the captured stdout decodes cleanly back to the original payload.
zstd -t accepts a frame on stdin and exits 0 for a valid stream Port / libzstd / usage-libarchive-tools-zstd-r12-cli-test-flag-on-stream Passed
Pipes a freshly produced zstd frame into zstd -t via stdin, asserts the integrity check passes, and verifies that corrupting a single byte causes zstd -t to exit non-zero.
bsdtar --zstd --options zstd:long=27 enables long-distance matching for the embedded zstd writer Port / libzstd / usage-libarchive-tools-zstd-r13-bsdtar-options-zstd-long-27 Passed
Builds a directory with several small text files, archives via bsdtar --zstd --options zstd:long=27, asserts the resulting .tar.zst lists the expected entries and round-trips byte-for-byte to the source tree under SHA-256 comparison.
bsdtar -tvf on a .tar.zst lists the expected entries with mode and size columns Port / libzstd / usage-libarchive-tools-zstd-r13-bsdtar-tvf-shows-zst-entries Passed
Builds a small directory of two files via bsdtar --zstd, runs bsdtar -tvf on the archive, and asserts the verbose listing contains both entry names and mode-prefixed rows beginning with a regular-file indicator.
zstd CLI -B131072 selects job size and still produces a valid roundtrippable frame Port / libzstd / usage-libarchive-tools-zstd-r13-cli-block-size-flag Passed
Compresses a 512KB payload with zstd -B131072 to set a 128KB job/block size, asserts the resulting .zst carries the standard zstd magic, passes -t integrity, and decompresses byte-for-byte to the source SHA-256.
zstd CLI -k preserves the source file alongside the produced .zst Port / libzstd / usage-libarchive-tools-zstd-r13-cli-keep-source-flag Passed
Compresses a file with zstd -k and asserts both the original and the .zst exist afterwards, the source contents are unchanged, and the .zst decompresses back to the original SHA-256.
zstd CLI --no-content-size omits decompressed size from the frame header listing Port / libzstd / usage-libarchive-tools-zstd-r13-cli-no-content-size-listing Passed
Compresses a payload with zstd --no-content-size, runs zstd -lv on the result, and asserts the verbose listing omits the "Decompressed Size" line entirely (because the field was suppressed in the frame header) while the output still round-trips byte-for-byte.
zstd CLI --no-dictID strips dictID from a dictionary-compressed frame while still decoding with the same dict Port / libzstd / usage-libarchive-tools-zstd-r13-cli-no-dictid-flag Passed
Trains a small dictionary, compresses a payload with -D dict --no-dictID, asserts the resulting frame still passes -t and round-trips when the same dictionary is supplied on decompression, while the recorded -lv listing reports a Dictionary ID of 0 (i.e. dictID was not written into the header).
zstd CLI --no-progress suppresses the progress bar marker characters in stderr Port / libzstd / usage-libarchive-tools-zstd-r13-cli-no-progress-stderr-quiet Passed
Compresses a payload with zstd --no-progress -o, captures stderr, and asserts the carriage-return-driven progress markers (Read/Write/dictionary updates) are absent from the recorded stderr stream while the .zst output still validates.
zstd CLI -o renames the output file independently of the input stem Port / libzstd / usage-libarchive-tools-zstd-r13-cli-output-rename Passed
Compresses input.bin with zstd -o renamed.zstdata to a non-default extension, asserts the chosen output path is created with valid zstd magic, the input is preserved, and the renamed archive round-trips byte-for-byte.
zstd -c reads stdin and writes a frame to stdout for shell pipelines Port / libzstd / usage-libarchive-tools-zstd-r13-cli-stdin-c-pipeline Passed
Pipes a payload into zstd -c (stdout streaming), captures the produced bytes, asserts the captured stream begins with the zstd frame magic 0x28b52ffd and round-trips back to the original SHA-256 via zstd -dq -c.
zstd CLI --train --maxdict=8192 caps the trained dictionary at the requested ceiling Port / libzstd / usage-libarchive-tools-zstd-r13-cli-train-small-dict Passed
Generates 256 small varied sample files, runs zstd --train --maxdict=8192 to produce a dictionary file, asserts the dictionary file exists, has non-zero size at or below the 8192 byte cap, and starts with a valid zstd dictionary or raw-content magic prefix.
bsdtar --options zstd:compression-level=10 selects an explicit zstd level Port / libzstd / usage-libarchive-tools-zstd-r14-bsdtar-options-compression-level-10 Passed
Builds a zstd-compressed tar with bsdtar --zstd and --options zstd:compression-level=10 to set an explicit compression level, asserts the resulting archive starts with the zstd frame magic, lists the expected entries through bsdtar -tf, and extracts to a tree whose contents round-trip byte-for-byte.
bsdtar --use-compress-program=zstd pipes the archive through the external zstd CLI Port / libzstd / usage-libarchive-tools-zstd-r14-bsdtar-use-compress-program Passed
Builds a tar with bsdtar --use-compress-program=zstd, asserts the resulting payload begins with the standard zstd frame magic, lists cleanly via bsdtar -tf, and extracts to a tree whose contents match the source SHA-256 byte-for-byte.
zstd --check writes an XXH64 content checksum that surfaces in zstd -lv listing Port / libzstd / usage-libarchive-tools-zstd-r14-cli-check-xxh64-listing Passed
Compresses a payload with zstd --check, runs zstd -lv on the resulting frame, and asserts the verbose listing carries a "Check: XXH64" line confirming the per-frame content checksum was written. The frame must also pass -t integrity and round-trip byte-for-byte.
zstd --decompress long flag is accepted as a synonym for -d Port / libzstd / usage-libarchive-tools-zstd-r14-cli-decompress-long-flag Passed
Compresses a payload, decompresses the resulting frame using the long flag form --decompress (instead of the short -d), and asserts the decoded output matches the source SHA-256 and the .zst input file is preserved on disk.
zstd -d -o <file> writes the decoded payload to the named output file Port / libzstd / usage-libarchive-tools-zstd-r14-cli-decompress-output-flag Passed
Compresses a payload, runs zstd -d -o <out> against the .zst archive, and asserts the decoded output file exists at the named path, matches the source byte-for-byte by SHA-256, and that the original .zst input is preserved on disk.
zstd --long=21 enables a 2 MiB window and the produced frame round-trips Port / libzstd / usage-libarchive-tools-zstd-r14-cli-long-window-21 Passed
Compresses a multi-megabyte payload with zstd --long=21 (2 MiB window log) so the long-distance matching path is exercised, asserts the resulting .zst carries the standard zstd frame magic, passes -t integrity, and decompresses back to a byte-identical SHA-256 of the source.
zstd --memory=128MB raises the decoder memory ceiling and decodes the frame Port / libzstd / usage-libarchive-tools-zstd-r14-cli-memory-limit-128mb Passed
Compresses a payload, decompresses it with zstd --memory=128MB to set an explicit decoder memory ceiling well above the frame requirement, and asserts the decoded output matches the source byte-for-byte. The flag must be accepted and the transfer must complete cleanly.
zstd -r recursively compresses every regular file under a directory Port / libzstd / usage-libarchive-tools-zstd-r14-cli-recursive-flag Passed
Populates a directory with multiple regular files, runs zstd -r against the directory, and asserts each input file gains a sibling .zst archive that passes -t integrity and decompresses byte-for-byte to the corresponding source. The flag must accept a directory argument and walk it recursively.
zstd --threads=2 enables multi-threaded compression and the frame round-trips Port / libzstd / usage-libarchive-tools-zstd-r14-cli-threads-2-roundtrip Passed
Compresses a payload with zstd --threads=2 (multi-threaded encoder), asserts the resulting .zst carries the standard zstd frame magic, passes -t integrity, and decompresses byte-for-byte to the source SHA-256. zstd in noble is built with multi-threading enabled, so --threads=2 must be accepted without falling back.
zstd -22 --ultra accepts the maximum strategy level and the frame round-trips Port / libzstd / usage-libarchive-tools-zstd-r14-cli-ultra-22 Passed
Compresses a small payload at zstd -22 with --ultra (which unlocks levels 20-22), asserts the produced .zst carries the standard zstd frame magic, passes -t integrity, and decompresses byte-for-byte to the source SHA-256.
bsdtar --options=zstd:compression-level=5 produces a valid zstd-wrapped tar that round-trips Port / libzstd / usage-libarchive-tools-zstd-r15-bsdtar-options-compression-level-5 Passed
Creates a zstd-compressed tar with bsdtar --options 'zstd:compression-level=5', asserts the resulting archive starts with the zstd frame magic, lists cleanly, and extracts back to a byte-identical SHA-256 of every source member.
bsdtar --options=zstd:threads=2 produces a parallel-compressed tar that decodes cleanly Port / libzstd / usage-libarchive-tools-zstd-r15-bsdtar-options-threads-2 Passed
Builds a zstd-compressed tar with bsdtar --options 'zstd:threads=2' so the multi-threaded compressor path is exercised, asserts the archive carries the zstd frame magic, and confirms extraction recovers the source files byte-for-byte.
bsdtar --uname/--gname override the symbolic owner/group recorded in a zstd tar Port / libzstd / usage-libarchive-tools-zstd-r15-bsdtar-uname-gname-override Passed
Builds a zstd-compressed tar with bsdtar --uname/--gname pointing at synthetic identifiers, lists the archive with -tvf, and asserts each entry's owner/group columns reflect the supplied overrides rather than the host's runtime user/group.
zstd CLI default frame header records content size and -lv reports it Port / libzstd / usage-libarchive-tools-zstd-r15-cli-content-size-listing Passed
Compresses a payload with the default zstd CLI invocation (no --no-content-size), runs zstd -lv on the result, and asserts the verbose listing reports both the Decompressed Size and Ratio rows. Confirms the default frame header carries the content-size field that --no-content-size suppresses.
zstd -r --exclude-compressed leaves pre-existing .zst inputs untouched while compressing the rest Port / libzstd / usage-libarchive-tools-zstd-r15-cli-exclude-compressed-skips-zst Passed
Stages a directory containing both raw text files and an already-compressed .zst, runs zstd -r --exclude-compressed against the directory, and asserts the previously-compressed file is not re-compressed (no .zst.zst is produced) while the raw inputs gain .zst siblings.
zstd --fast=5 produces a valid frame that decodes back to the original Port / libzstd / usage-libarchive-tools-zstd-r15-cli-fast-mode-explicit Passed
Compresses a payload with zstd --fast=5 (negative compression level / fast mode 5), asserts the resulting file carries the standard zstd frame magic, passes -t integrity, and decompresses to a byte-identical SHA-256 of the source.
zstd --no-check produces a frame whose -lv listing reports Check: None Port / libzstd / usage-libarchive-tools-zstd-r15-cli-no-check-listing Passed
Compresses a payload with zstd --no-check so the trailing XXH64 checksum is suppressed, runs zstd -lv on the result, and asserts the verbose listing reports a "Check: None" row (vs. "Check: XXH64" for a default frame). Also confirms decompression still recovers the source byte-for-byte.
zstd --output-dir-mirror reproduces the source directory tree under the mirror root Port / libzstd / usage-libarchive-tools-zstd-r15-cli-output-dir-mirror Passed
Compresses a nested input tree with zstd -r --output-dir-mirror and asserts the mirror root contains the same relative directory layout, with each input file replaced by an .zst sibling at the mirrored path. The original tree must not gain new .zst entries.
zstd --progress writes a progress line to stderr while -q --no-progress stays silent Port / libzstd / usage-libarchive-tools-zstd-r15-cli-progress-stderr-output Passed
Compresses a payload twice: once with zstd --progress (stderr output expected) and once with -q --no-progress (stderr expected to be empty). Asserts the --progress run prints something to stderr and the --no-progress run produces no stderr output, while both compressions still produce identical decoded bodies.
zstd --train-fastcover trains a dictionary that round-trips a sample payload Port / libzstd / usage-libarchive-tools-zstd-r15-cli-train-fastcover-flag Passed
Generates a corpus of small training samples, runs zstd --train-fastcover=k=32 to build a fastcover-trained dictionary, asserts the produced file is a Zstandard dictionary, then compresses and decompresses a payload with -D against it and confirms a byte-for-byte SHA-256 round-trip.
bsdtar -tvf on a tar.zst archive lists the expected member paths under verbose long-form listing Port / libzstd / usage-libarchive-tools-zstd-r16-bsdtar-tvf-shows-zst-entries Passed
Packs two files into a tar.zst archive with bsdtar --zstd, runs bsdtar -tvf to list it, and asserts the verbose output includes both member relative paths and the canonical zst-content prefix is parsed (member count == 2 excluding directory entries).
bsdtar --zstd creates and extracts a tar.zst archive whose contents byte-match the source tree Port / libzstd / usage-libarchive-tools-zstd-r16-bsdtar-zstd-roundtrip-checksum Passed
Stages a small file tree, packs it with bsdtar --zstd into a .tar.zst archive, extracts it into a sibling directory, and asserts the SHA-256 of every restored file matches the original — exercising libarchive's --zstd compressor in both create and extract modes.
zstd -d decodes two concatenated frames produced separately into the concatenated source payload Port / libzstd / usage-libarchive-tools-zstd-r16-cli-concatenated-frames-decode Passed
Compresses two distinct payloads into separate .zst frames, concatenates the two .zst files into one, and asserts zstd -d on the concatenation decodes to the byte-for-byte concatenation of the two original sources, exercising the multi-frame concatenated decode path.
zstd -19 produces a strictly smaller payload than zstd -1 on a repetitive source Port / libzstd / usage-libarchive-tools-zstd-r16-cli-level-1-vs-19-size-monotonic Passed
Compresses a highly repetitive payload with zstd -1 and zstd -19, asserts both files decompress back to the byte-identical source via SHA-256, and confirms the -19 output is strictly smaller than the -1 output — exercising the level knob's monotonic size response on compressible input.
zstd --long=24 accepts an explicit window-log and decompresses with --long to the same source Port / libzstd / usage-libarchive-tools-zstd-r16-cli-long-window-log-flag-accepted Passed
Compresses a payload with zstd --long=24, asserts the file exists with the standard zstd frame magic, then decompresses with zstd -d --long=24 and verifies the SHA-256 round-trip equals the source — exercising the long-mode window-log flag path on both encode and decode.
zstd --rm removes the original input file after a successful compression Port / libzstd / usage-libarchive-tools-zstd-r16-cli-rm-removes-source-after-compress Passed
Creates an input file, compresses it with zstd --rm to a sibling .zst output, asserts the original input file no longer exists while the .zst output is present and decompresses to a byte-identical SHA-256 of the captured-before-deletion source bytes.
zstd -c | zstd -dc pipeline round-trips a source payload through stdin/stdout Port / libzstd / usage-libarchive-tools-zstd-r16-cli-stdout-c-pipeline-pipe Passed
Pipes a generated payload through zstd -c (compress to stdout) into zstd -dc (decompress from stdin to stdout), captures the result, and asserts the SHA-256 of the decompressed bytes equals the SHA-256 of the source — exercising the streaming stdout/stdin pipeline.
zstd -t verifies the integrity of a valid frame without emitting decoded data Port / libzstd / usage-libarchive-tools-zstd-r16-cli-test-flag-valid-frame Passed
Compresses a payload to .zst, runs zstd -t against it (test/integrity mode), asserts exit code 0, and confirms zstd -t does not produce any decoded output on stdout — locking in the test-only contract of the -t flag on a well-formed frame.
zstd --train on a small sample corpus emits a dictionary whose first four bytes are the zstd dict magic Port / libzstd / usage-libarchive-tools-zstd-r16-cli-train-produces-dictionary-magic Passed
Generates a corpus of 128 small training samples, runs zstd --train to build a dictionary, and asserts the produced file exists and starts with the canonical zstd dictionary magic 0x37A430EC (little-endian), without further exercising the dictionary semantics.
zstdcat with two .zst arguments emits the concatenated decoded payload on stdout Port / libzstd / usage-libarchive-tools-zstd-r16-zstdcat-multiple-inputs-concat Passed
Compresses two distinct payloads into separate .zst files, runs zstdcat with both files as arguments, and asserts the captured stdout SHA-256 equals the SHA-256 of the concatenation of the two original sources — exercising the multi-input zstdcat path.
bsdtar --zstd --options zstd:compression-level=5 produces a valid tar.zst archive Port / libzstd / usage-libarchive-tools-zstd-r17-bsdtar-options-compression-level-five Passed
Packs two source files into a tar.zst archive with bsdtar --zstd and the explicit '--options zstd:compression-level=5' knob, then re-lists the archive and asserts both members are present, exercising libarchive's zstd compression-level option wiring.
bsdtar --zstd create + extract round-trips file contents byte-for-byte Port / libzstd / usage-libarchive-tools-zstd-r17-bsdtar-zstd-roundtrip-extract-contents Passed
Packs two files into tar.zst with bsdtar --zstd, extracts the archive into a fresh directory, and asserts each extracted file's SHA-256 matches the source, locking in the create/extract round-trip through libarchive's zstd-backed format.
zstd --check compressed frame validates cleanly under zstd -t Port / libzstd / usage-libarchive-tools-zstd-r17-cli-check-xxhash-trailer-present Passed
Compresses a payload with the explicit --check option (enabling the XXH64 content checksum) and asserts the produced .zst frame passes 'zstd -t' integrity verification.
zstd -d on a truncated frame exits non-zero and refuses to emit a clean decode Port / libzstd / usage-libarchive-tools-zstd-r17-cli-d-truncated-frame-fails Passed
Compresses a payload, truncates the resulting .zst file to a fraction of its size, runs zstd -d on the truncated frame, and asserts the decoder exits non-zero, exercising the corrupted/truncated frame rejection path.
zstd -f overwrites a pre-existing .zst output file without prompting Port / libzstd / usage-libarchive-tools-zstd-r17-cli-f-overwrites-existing-zst Passed
Creates a stub .zst output, runs zstd -f on a fresh source pointing at the same output path, and asserts the resulting file is a valid zstd frame (begins with the 0x28b52ffd magic) and decompresses back to the source payload.
zstd --keep retains the source file after a successful compression Port / libzstd / usage-libarchive-tools-zstd-r17-cli-keep-flag-preserves-source Passed
Compresses a small payload with zstd --keep and asserts the source file still exists after the run (default behavior on modern zstd, but the --keep flag pins it explicitly), and that the produced .zst file is non-empty.
zstd -10 mid-level compression round-trips byte-for-byte via SHA-256 Port / libzstd / usage-libarchive-tools-zstd-r17-cli-level-ten-roundtrip-sha Passed
Compresses a generated payload with zstd -10, decompresses it back with zstd -d, and asserts the SHA-256 of the decoded bytes equals the source SHA-256, exercising a mid-range compression level path.
zstd -r recursively compresses every file in a directory tree to a .zst sibling Port / libzstd / usage-libarchive-tools-zstd-r17-cli-r-recursive-directory-tree Passed
Lays down a small directory tree with three files in two levels, runs 'zstd -q -r' on the root, and asserts a .zst sibling appears next to each source file and each decompresses back to the original payload.
zstd compress-from-stdin then decompress-to-stdout round-trips byte-for-byte via SHA Port / libzstd / usage-libarchive-tools-zstd-r17-cli-stdin-pipe-roundtrip-sha Passed
Pipes a generated payload into 'zstd' (compress, stdin->stdout) and then through 'zstd -d' (decompress, stdin->stdout), and asserts the SHA-256 of the decompressed bytes equals the source SHA-256.
bsdtar -xOf on a tar.zst archive streams the original file contents Port / libzstd / usage-libarchive-tools-zstd-r18-bsdcat-tar-zst-stream-equals-source Passed
Creates a tar.zst archive containing a single text file with bsdtar --zstd -cf, extracts the member to stdout via bsdtar -xOf, and asserts the sha256 of the streamed bytes equals the sha256 of the original file — exercising libarchive's tar.zst extract-to-stdout path.
bsdtar --zstd --exclude omits matching paths during tar.zst creation Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-exclude-pattern-skips-member Passed
Packs three files into tar.zst while passing --exclude 'skip.txt' to bsdtar, lists the resulting archive, and asserts the excluded member is absent while the other members remain.
bsdtar -t lists three tar.zst members in deterministic order Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-list-zst-members Passed
Builds a tar.zst archive with three named files, runs bsdtar -tf to list its members, and asserts every expected name appears in the output — confirming libarchive's tar.zst listing path.
bsdtar --zstd --options zstd:compression-level=19 round-trips content byte-for-byte Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-options-level-19-roundtrip Passed
Packs a deterministic text payload into tar.zst at compression-level 19 via bsdtar, extracts it back to a fresh directory, and asserts the extracted file's SHA-256 matches the source to lock in high-level compression correctness.
bsdtar -O reads a tar.zst from stdin and writes member content to stdout Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-pipe-stdin-extract-stdout Passed
Creates a tar.zst archive with a single member, feeds it to bsdtar -O via stdin, and asserts the SHA-256 of the stdout stream matches the original file's SHA-256 to pin the libarchive stdin-to-stdout extraction path.
bsdtar -x --strip-components 1 drops the leading path segment on tar.zst extraction Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-strip-components-one Passed
Creates a tar.zst archive containing a top/leaf.txt path layout, extracts it with bsdtar --strip-components 1 into a fresh directory, and asserts the extracted layout drops the leading 'top/' segment so leaf.txt appears at the destination root.
bsdtar --zstd --totals emits a final byte count summary to stderr Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-totals-stderr-contains-bytes Passed
Packs a small payload into tar.zst with bsdtar --zstd --totals, captures stderr, and asserts the totals summary line mentions 'bytes' to confirm the libarchive totals reporting path is reached when the zstd filter is in use.
bsdtar --uname --gname embeds custom owner/group strings into a tar.zst archive Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-uname-gname-preserved Passed
Packs a single file into tar.zst with bsdtar --uname=zguser --gname=zggroup, then asks bsdtar -tvf to list the archive in verbose mode and asserts both owner and group strings appear in the listing.
bsdtar --zstd --format ustar packs a tar.zst archive and round-trips contents Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-ustar-format-flag-tar-zst Passed
Creates a tar.zst archive forcing the inner tar format to ustar via --format ustar, extracts it back into a clean directory, and verifies the extracted file's SHA-256 matches the source to lock in libarchive's ustar+zstd combination.
bsdtar --zstd --no-recursion archives only the named directory entry, not its contents Port / libzstd / usage-libarchive-tools-zstd-r18-bsdtar-zstd-no-recursion-flat-dir Passed
Creates a directory with two files inside and packs only the directory entry into a tar.zst archive with --no-recursion, then lists the archive and asserts only the directory member is present, not the nested files.
bsdtar -x -f archive.tar.zst -C target extracts into the named destination directory Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-c-dash-c-extract-into-target Passed
Builds a tar.zst archive containing payload.txt, creates a separate destination directory, runs bsdtar -xf -C dest, and asserts the member lands under dest/payload.txt with byte-identical SHA-256 to the source.
bsdtar -x -k on tar.zst fails to overwrite an existing destination file Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-keep-old-files-preserves-existing Passed
Creates a tar.zst archive carrying payload.txt, pre-populates the destination with a sentinel payload.txt, runs bsdtar -xkf on the archive, and asserts the pre-existing file is left untouched (its bytes unchanged) confirming the libarchive -k overwrite-refusal path with zstd.
bsdtar -tf prints directory members in a tar.zst with a trailing slash Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-list-directory-entry-trailing-slash Passed
Packs a directory containing one file into a tar.zst archive, runs bsdtar -tf on it, and asserts the directory member appears with a trailing '/' in the listing — pinning the libarchive directory-entry rendering for tar.zst archives.
bsdtar packs three named files into one tar.zst and extracts them with matching SHA-256 each Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-multi-member-archive-three-files Passed
Creates three small files with distinct payloads, packs them together into a single tar.zst, extracts to a fresh directory, and asserts every extracted file's SHA-256 equals its source — pinning the libarchive multi-member tar.zst roundtrip path.
bsdtar --zstd --options zstd:compression-level=1 produces a valid tar.zst that round-trips Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-options-level-one-roundtrip Passed
Packs a deterministic payload into tar.zst at the lowest zstd compression level (1), extracts back into a fresh directory, and verifies the extracted file's SHA-256 matches the source — pinning libarchive's lowest-level zstd encoder roundtrip.
bsdtar -tvf on a tar.zst lists the member's byte size in the verbose output Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-tvf-shows-size-column Passed
Packs a deterministic 384-byte file into a tar.zst, runs bsdtar -tvf on the archive, and asserts the verbose listing line contains the literal token '384' for the member size to confirm libarchive's size column rendering.
bsdtar --version output advertises a zstd-related feature token Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-version-mentions-zstd-feature Passed
Runs bsdtar --version and asserts the printed feature list mentions 'zstd' or 'libzstd' in any case, evidencing that the libarchive build linked against libzstd is the one bsdtar uses for tar.zst handling on Ubuntu 24.04.
bsdtar -xf on a tar.zst archive emits no stdout/stderr noise on success Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-x-quiet-no-output-default Passed
Extracts a tar.zst archive with bsdtar -xf without -v, captures stdout and stderr, and asserts both streams are empty in the success case to pin the libarchive default-quiet extraction behavior with zstd compression.
bsdtar extracts a tar.zst preserving the executable bit on a 0755-mode member Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-xp-preserves-executable-mode Passed
Creates a script file with permissions 0755, packs it into a tar.zst archive, extracts to a fresh directory, and asserts the extracted file retains the executable bit for the owner — pinning libarchive's mode preservation across the zstd-compressed tar path.
bsdtar tar.zst archives a zero-byte file and restores it with size 0 on extract Port / libzstd / usage-libarchive-tools-zstd-r19-bsdtar-zero-byte-member-roundtrip Passed
Creates an empty file via touch, packs it into a tar.zst archive with bsdtar --zstd -cf, extracts the archive to a fresh directory, and asserts the extracted file exists and reports zero bytes — pinning the libarchive zero-length member roundtrip path.
bsdtar --zstd produces an archive whose first four bytes are the zstd frame magic Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-cf-zst-magic-header Passed
Builds a tar.zst archive via bsdtar --zstd and asserts the first four bytes of the output equal the canonical zstd frame magic 28 b5 2f fd (little-endian), pinning libarchive's zstd writer's frame-magic emission on Ubuntu 24.04.
bsdtar --zstd -T - reads member paths from stdin to build a multi-file archive Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-create-from-stdin-paths Passed
Pipes two newline-separated paths to bsdtar --zstd -cf out.tar.zst -T -, then lists the archive contents and asserts both names appear exactly once each in the listing — pinning libarchive's stdin-file-list (-T -) path under zstd compression.
bsdtar --zstd creates an empty tar.zst archive that lists with no members Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-empty-archive-roundtrip Passed
Builds a tar.zst archive from an empty file list via bsdtar --zstd -cf out.tar.zst -T /dev/null, asserts the archive is non-empty (it still has a tar terminator wrapped in a zstd frame) and that bsdtar --zstd -tf produces zero member lines, pinning libarchive's empty-archive emission under zstd.
bsdtar --zstd roundtrip preserves the exact byte size of an extracted member Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-extract-preserves-file-size Passed
Builds a tar.zst archive containing payload.bin of a fixed 8192-byte size, extracts it into a fresh directory via bsdtar --zstd -xf, and asserts the extracted file is exactly 8192 bytes long, pinning the libarchive zstd reader's whole-member integrity.
bsdtar --zstd -tvf prints a permission string column for each archive member Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-list-verbose-shows-permissions-column Passed
Builds a tar.zst archive with a single file, runs bsdtar --zstd -tvf and asserts the verbose listing's first column starts with a 'rwx'-style permission descriptor matching ^[-d][rwx-]{9}, pinning bsdtar's verbose-list permission column under zstd archives.
bsdtar --zstd roundtrip preserves a two-level nested directory layout Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-nested-directory-roundtrip Passed
Creates a src/a/b/payload.txt three-level layout, archives src via bsdtar --zstd, extracts it into a fresh destination, and asserts the destination contains the file at the same relative path with byte-identical contents, pinning libarchive's nested-directory traversal under zstd.
bsdtar --zstd --newer-mtime omits members whose mtime predates the cutoff Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-newer-than-skips-old-file Passed
Creates two files where one is touched to be older than the other, builds a tar.zst archive with --newer-mtime set to the older file's mtime+10s, lists the archive and asserts the old file is not present while the newer file is — pinning bsdtar's mtime-filter path under zstd compression.
bsdtar --zstd --options zstd:compression-level=3 roundtrips a member with identical SHA-256 Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-options-level-three-roundtrip Passed
Builds a tar.zst archive with bsdtar --zstd --options zstd:compression-level=3 and extracts it back, asserting the SHA-256 of the original and extracted payload match byte-for-byte, pinning libarchive's zstd compression-level option passthrough.
bsdtar --zstd -xq stops extracting after the first named member is found Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-q-quiet-stops-after-first-match Passed
Builds a tar.zst archive containing two files (a.txt and b.txt), extracts only a.txt with bsdtar --zstd -xqf using -q (fast-quit) and the explicit member name, and asserts a.txt was extracted while b.txt was not — pinning the libarchive zstd reader's fast-quit name match path.
bsdtar --zstd -x recreates a directory-only archive entry on extraction Port / libzstd / usage-libarchive-tools-zstd-r20-bsdtar-x-creates-target-dir Passed
Builds a tar.zst archive containing a directory entry named adir/, extracts it into a fresh destination via bsdtar --zstd -xf, and asserts the destination contains adir as a real directory — pinning libarchive's zstd-driven directory-entry materialization.
bsdcat reads a tar.zst archive and emits the concatenated member bytes Port / libzstd / usage-libarchive-tools-zstd-r21-bsdcat-reads-zst-archive-stream Passed
Creates a tar.zst archive containing two small text members and runs bsdcat against it, asserting the streamed output contains the bytes from both members — pinning libarchive's bsdcat zst reader on Ubuntu 24.04.
bsdtar -x extracts a nested tar.zst that itself contains another tar.zst Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-extract-nested-tar-zst Passed
Wraps a payload file in tar.zst inner archive, then wraps that inner archive into an outer tar.zst, extracts the outer archive and the inner archive in sequence, and asserts the final extracted payload matches the original bytes — pinning libarchive's nested-zst extraction on Ubuntu 24.04.
bsdtar tar.zst roundtrips a 4 MiB random payload preserving size and sha256 Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-large-file-roundtrip-sha256 Passed
Creates a 4 MiB random-byte file, archives it as tar.zst, extracts it, and asserts both the file size and the SHA-256 match the original — pinning libarchive's zstd integrity for non-trivial sized payloads on Ubuntu 24.04.
bsdtar --zstd at zstd:compression-level=19 produces an archive no larger than at level=1 for a compressible payload Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-level-1-vs-19-size-monotonic Passed
Builds a highly compressible 64 KiB payload of repeating bytes, archives it via bsdtar --zstd at zstd:compression-level=1 and zstd:compression-level=19, and asserts the level-19 archive is less than or equal to the level-1 archive in size — pinning libarchive's zstd level monotonicity on compressible input on Ubuntu 24.04.
bsdtar --zstd archives five distinct files and extracts all five with their original contents Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-multi-file-extract-counts Passed
Creates five small text files (f0..f4), bundles them into a single tar.zst archive, extracts and asserts all five files are present with the expected contents — pinning libarchive's multi-member zst extraction on Ubuntu 24.04.
bsdtar --options zstd:compression-level=9 produces an archive that roundtrips with identical sha256 Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-options-level-9-roundtrip Passed
Creates a small tree, archives it with bsdtar --zstd --options zstd:compression-level=9, extracts it into a fresh directory and asserts the per-file SHA-256 of the extracted file equals the source SHA-256 — pinning libarchive's zstd compression-level=9 option through the bsdtar CLI on Ubuntu 24.04.
bsdtar --options zstd:long=25 archive roundtrips and preserves the payload sha256 Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-options-long-25-roundtrip Passed
Creates a small payload, archives it with bsdtar --zstd --options zstd:long=25 (long-range mode), extracts it and asserts the SHA-256 matches the source — pinning libarchive's zstd:long option threading through the bsdtar CLI on Ubuntu 24.04.
bsdtar --zstd reads a tar.zst archive from stdin via redirected file input Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-stdin-stream-roundtrip Passed
Creates a tar.zst archive on disk via bsdtar --zstd, then extracts it by piping the file through stdin (bsdtar --zstd -xf - <archive), and asserts the extracted file's sha256 matches the source — pinning libarchive's stdin-driven tar.zst decode on Ubuntu 24.04.
bsdtar --zstd -tvf lists each member with a permission-bit column matching the source mode Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-tvf-permissions-column-present Passed
Creates a tar.zst archive containing a regular file with mode 0644, lists it with bsdtar --zstd -tvf and asserts the listing's first column for that member matches '-rw-r--r--' — pinning libarchive's zst listing's permission column on Ubuntu 24.04.
bsdtar --zstd output begins with the zstd frame magic 0x28b52ffd Port / libzstd / usage-libarchive-tools-zstd-r21-bsdtar-zst-magic-frame-header Passed
Creates a tar.zst archive with bsdtar --zstd and asserts the first four bytes equal the zstd frame magic number 28 b5 2f fd (little-endian 0xFD2FB528) — pinning libarchive's zstd frame header emission on Ubuntu 24.04.
libarchive tools zstd root directory extract gamma Port / libzstd / usage-libarchive-tools-zstd-rootdir-extract-gamma Passed
Exercises libarchive tools zstd root directory extract gamma through a dependent-client usage scenario.
libarchive-tools zstd root hidden file Port / libzstd / usage-libarchive-tools-zstd-rootdir-hidden-file Passed
Archives and extracts a hidden file under a root directory in a zstd-compressed tar and verifies the restored payload.
libarchive tools zstd root directory list Port / libzstd / usage-libarchive-tools-zstd-rootdir-list Passed
libarchive-tools zstd single extract Port / libzstd / usage-libarchive-tools-zstd-single-file-extract Passed
libarchive tools zstd space directory list Port / libzstd / usage-libarchive-tools-zstd-space-dir-list Passed
libarchive-tools zstd spaced directory Port / libzstd / usage-libarchive-tools-zstd-space-dir Passed
Archives a directory with spaces under zstd compression and verifies the nested file extracts correctly.
libarchive-tools zstd space file extract Port / libzstd / usage-libarchive-tools-zstd-space-file-extract Passed
Extracts a spaced filename from a zstd-compressed tar archive and verifies the restored file payload.
libarchive-tools zstd space file stdout Port / libzstd / usage-libarchive-tools-zstd-space-file-stdout Passed
Streams a spaced filename member from a zstd-compressed tar archive with bsdtar -xOf and verifies the extracted payload.
libarchive-tools zstd spaced root extract Port / libzstd / usage-libarchive-tools-zstd-space-rootdir-extract Passed
libarchive-tools zstd spaced root list Port / libzstd / usage-libarchive-tools-zstd-space-rootdir-list Passed
Lists a zstd-compressed tar whose top-level directory name contains spaces and verifies the nested path.
libarchive-tools zstd spaced filename Port / libzstd / usage-libarchive-tools-zstd-spaced-filename Passed
bsdtar rejects standalone zstd file that is not a tar Port / libzstd / usage-libarchive-tools-zstd-standalone-zst-not-tar Passed
Compresses a raw payload with the zstd CLI to produce a standalone .zst file (no tar inside) and asserts bsdtar -xf refuses to extract it because the decoded byte stream is not a recognized archive format.
libarchive-tools zstd stdout archive Port / libzstd / usage-libarchive-tools-zstd-stdin-archive Passed
libarchive-tools zstd stdin list members Port / libzstd / usage-libarchive-tools-zstd-stdin-list-members Passed
Pipes a zstd-compressed tar archive into bsdtar and verifies the listed member paths from stdin input.
bsdtar zstd create -f - to extract -f - pipe Port / libzstd / usage-libarchive-tools-zstd-stdin-to-stdout-pipe Passed
Creates a zstd-compressed tar on stdout via -cf - and pipes it directly into a second bsdtar -xf - invocation, verifying the payload and frame magic of the captured stream.
libarchive-tools zstd stdout member alpha Port / libzstd / usage-libarchive-tools-zstd-stdout-member-alpha Passed
Streams a single member from a zstd-compressed tar archive with bsdtar -xOf and verifies the extracted payload.
libarchive-tools zstd stdout stream Port / libzstd / usage-libarchive-tools-zstd-stdout-stream Passed
libarchive-tools zstd stream extract Port / libzstd / usage-libarchive-tools-zstd-stream-extract Passed
libarchive-tools zstd stream list Port / libzstd / usage-libarchive-tools-zstd-stream-list Passed
libarchive tools zstd stream member stdout Port / libzstd / usage-libarchive-tools-zstd-stream-member-stdout Passed
libarchive-tools zstd stream subdir list Port / libzstd / usage-libarchive-tools-zstd-stream-subdir-list Passed
Streams a zstd-compressed tar through bsdtar and verifies a nested subdirectory member appears in the listing.
libarchive-tools zstd strip components Port / libzstd / usage-libarchive-tools-zstd-strip-components Passed
libarchive-tools zstd subtree only Port / libzstd / usage-libarchive-tools-zstd-subtree-only Passed
Archives only a nested subtree through zstd compression and verifies unrelated files are omitted.
libarchive tools zstd symlink extract target Port / libzstd / usage-libarchive-tools-zstd-symlink-extract-target Passed
Exercises libarchive tools zstd symlink extract target through a dependent-client usage scenario.
libarchive-tools zstd symlink listing Port / libzstd / usage-libarchive-tools-zstd-symlink-listing Passed
Lists a zstd-compressed archive containing a symbolic link and verifies the link member appears in verbose output.
libarchive-tools zstd symlink Port / libzstd / usage-libarchive-tools-zstd-symlink Passed
libarchive-tools zstd tar extract Port / libzstd / usage-libarchive-tools-zstd-tar-extract Passed
libarchive-tools zstd tar list Port / libzstd / usage-libarchive-tools-zstd-tar-list Passed
bsdtar zstd tiny payload preserves magic Port / libzstd / usage-libarchive-tools-zstd-tiny-payload-magic Passed
Archives a single 7-byte payload with bsdtar --zstd and verifies the resulting frame still carries the 28 b5 2f fd zstd magic and round-trips byte-exact, exercising the small-input path.
libarchive-tools zstd topdir strip one Port / libzstd / usage-libarchive-tools-zstd-topdir-strip-one Passed
Archives a top-level directory under zstd compression and extracts it with one stripped path component.
bsdtar zstd directory tree round-trip Port / libzstd / usage-libarchive-tools-zstd-tree-roundtrip-sha Passed
Compresses a multi-file directory tree with bsdtar --zstd then extracts and verifies every file's sha256 matches the source.
bsdtar zstd verbose listing shows permission columns Port / libzstd / usage-libarchive-tools-zstd-tvf-permissions-listing Passed
Lists a zstd-compressed tar with bsdtar -tvf and verifies the verbose listing exposes the standard ten-column permission string plus the archived filename for each member.
libarchive-tools zstd two space files list Port / libzstd / usage-libarchive-tools-zstd-two-space-files-list Passed
Lists a zstd-compressed tar archive containing a spaced filename and verifies the member path is preserved.
libarchive-tools zstd two topdirs list Port / libzstd / usage-libarchive-tools-zstd-two-topdirs-list Passed
Creates a zstd-compressed tar with two top-level directories and verifies both paths appear in the archive listing.
libarchive-tools zstd verbose exec list Port / libzstd / usage-libarchive-tools-zstd-verbose-exec-list Passed
Lists a zstd-compressed tar archive verbosely and verifies executable permission metadata for a script member.
libarchive-tools zstd verbose list Port / libzstd / usage-libarchive-tools-zstd-verbose-list Passed
CVE-2021-24031 libzstd regression Port / libzstd / cve-2021-24031 Passed
Asserts that the zstd CLI preserves the input file's restrictive permissions on its compressed output instead of creating output with default world-accessible permissions.
CVE-2021-24032 libzstd regression Port / libzstd / cve-2021-24032 Passed
Asserts that the zstd CLI applies restrictive permissions to decompression output as a property of the open call rather than via a post-create chmod that left a race window where output was momentarily world-accessible.