iw7-mod/deps/zstd/tests/cli-tests/compression/golden.sh

16 lines
456 B
Bash
Raw Normal View History

2024-08-13 05:15:34 -04:00
#!/bin/sh
set -e
GOLDEN_DIR="$ZSTD_REPO_DIR/tests/golden-compression/"
cp -r "$GOLDEN_DIR" golden/
zstd -rf golden/ --output-dir-mirror golden-compressed/
zstd -r -t golden-compressed/
zstd --target-compressed-block-size=1024 -rf golden/ --output-dir-mirror golden-compressed/
zstd -r -t golden-compressed/
# PR #3517 block splitter corruption test
zstd -rf -19 --zstd=mml=7 golden/ --output-dir-mirror golden-compressed/
zstd -r -t golden-compressed/