1 2 3 4 5 6 7
#! /bin/bash # This script tests: pamtopam pamtopnm # Also requires: pamtopam < testimg.ppm | pamtopnm | cksum pamtopam < testgrid.pbm | pamtopnm | cksum