1
0
mirror of https://github.com/facebook/zstd.git synced 2025-04-23 10:05:44 +03:00
zstd/tests/cli-tests/file-stat/decompress-stdin-to-file.sh
Nick Terrell 7fe7a166c2 [cli-tests] Add tests that use --trace-file-stat
Basic tests for (de)compressing in the following modes:
* file to file
* file to stdout
* stdin to file
* stdin to stdout

These are basic tests, and aren't testing more advanced scenarios, but
it adds the groundwork for more complex tests as needed.

Fixes #3010.
2022-12-21 18:32:12 -08:00

8 lines
96 B
Bash
Executable File

#!/bin/sh
set -e
datagen | zstd -q > file.zst
zstd -dcq --trace-file-stat < file.zst -o file