zstd/tests/cli-tests/decompression
Nick Terrell 03cc84fddb
Add explicit --pass-through flag and default to enabled for *cat (#3223)
Fixes #3211.

Adds the `--[no-]pass-through` flag which enables/disables pass-through mode.

* `zstdcat`, `zcat`, and `gzcat` default to `--pass-through`.
  Pass-through mode can be disabled by passing `--no-pass-through`.
* All other binaries default to not setting pass-through mode.
  However, we preserve the legacy behavior of enabling pass-through
  mode when writing to stdout with `-f` set, unless pass-through
  mode is explicitly disabled with `--no-pass-through`.

Adds a new test for this behavior that should codify the behavior we want.
2022-08-04 17:15:59 -07:00
..
golden.sh Fix off-by-one error in superblock mode (#3221) 2022-08-03 11:28:39 -07:00
pass-through.sh Add explicit --pass-through flag and default to enabled for *cat (#3223) 2022-08-04 17:15:59 -07:00
pass-through.sh.stderr.exact Add explicit --pass-through flag and default to enabled for *cat (#3223) 2022-08-04 17:15:59 -07:00
pass-through.sh.stdout.exact Add explicit --pass-through flag and default to enabled for *cat (#3223) 2022-08-04 17:15:59 -07:00