ghcup-hs/3rdparty/zlib/test/zpipe-compress.sh

12 lines
206 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -e
for d in $*; do
cmp <(./hszpipe < $d) <(./zpipe < $d)
cmp $d <(./zpipe < $d | ./zpipe -d) # just in case..
cmp $d <(./zpipe < $d | ./hszpipe -d)
echo -n .
done
echo