# compare pbzip2's output against output from bzip2 1.0.6
echo "uncompressed" | pbzip2 -c > pbzip2.out
[[ $(md5sum pbzip2.out) == "26bef035e3983d8817dcc041723d1b28  pbzip2.out" ]] || exit 1

# compare pbzip2's output against output from bzip2 1.0.6
echo "uncompressed" | pbzip2 -c > pbzip2.out
dd if=pbzip2.out ibs=1 skip=10 count=4 2>/dev/null > pbzip2.crc
[[ $(hexdump -e '1/1 "%02x"' pbzip2.crc) == "6a8eb39c" ]] || exit 1

Fix test crash where md5sum is unavailable
Fix test crash where md5sum is unavailable
