Files
ghcup-hs/3rdparty/zlib/test/gzip-uncompress.sh
Julian Ospald bf6e94cfb2 Allow to build zlib and lzma statically
This should fix issues on Darwin.
2020-05-10 13:12:39 +02:00

17 lines
276 B
Bash

#!/usr/bin/env bash
for d in $*; do
if gunzip -c < $d &> /dev/null; then
if cmp <(./hsgunzip < $d) <(gunzip -c < $d) > /dev/null; then
echo -n '.'
else
echo '#'
echo "FAILED: $d"
exit 1
fi
else
echo -n '_'
fi
done
echo