singe/thirdparty/zstd/tests/cli-tests/decompression/detectErrors.sh
2023-11-14 22:16:48 -06:00

11 lines
185 B
Bash
Executable file

#!/bin/sh
set -e
GOLDEN_DIR="$ZSTD_REPO_DIR/tests/golden-decompression-errors/"
for file in "$GOLDEN_DIR"/*; do
zstd -t $file && die "should have detected an error"
done
exit 0