iw7-mod/deps/zstd/tests/cli-tests/decompression/detectErrors.sh

12 lines
185 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-decompression-errors/"
for file in "$GOLDEN_DIR"/*; do
zstd -t $file && die "should have detected an error"
done
exit 0