ghcup-hs/3rdparty/zlib/test/zpipe-compress.sh
2020-05-10 13:12:39 +02:00

12 lines
206 B
Bash

#!/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