1
0
mirror of https://github.com/facebook/zstd.git synced 2025-04-21 23:05:51 +03:00
zstd/tests/cli-tests/file-stat/compress-file-to-stdout.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

9 lines
96 B
Bash
Executable File

#!/bin/sh
set -e
datagen > file
zstd file -cq --trace-file-stat > file.zst
zstd -tq file.zst