1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#! /bin/sh # This script tests: pbmtopgm # Also requires: #Test 1 echo "Test 1" pbmtopgm -plain 1 1 testgrid.pbm echo "Test Invalid" . ${srcdir}/test-invalid.inc invCmd "pbmtopgm 5 0 testgrid.pbm" invCmd "pbmtopgm 0 9 testgrid.pbm" invCmd "pbmtopgm 15 5 testgrid.pbm" invCmd "pbmtopgm 5 17 testgrid.pbm"