1 2 3 4 5 6 7 8 9 10
#! /bin/bash # This script tests: hdifftopam pamtohdiff # Also requires: alias hdifftopam="${PBM_TESTPREFIX}hdifftopam" alias pamtohdiff="${PBM_TESTPREFIX}pamtohdiff" shopt -s expand_aliases pamtohdiff testimg.ppm | \ hdifftopam -pnm | cksum