diff options
Diffstat (limited to 'test/pnmtopnm-plain.test')
-rwxr-xr-x | test/pnmtopnm-plain.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pnmtopnm-plain.test b/test/pnmtopnm-plain.test new file mode 100755 index 00000000..3cbd5752 --- /dev/null +++ b/test/pnmtopnm-plain.test @@ -0,0 +1,10 @@ +#! /bin/bash +# This script tests: pnmtopnm +# Also requires: pgmtopgm ppmtoppm + +${PBM_TESTPREFIX}pnmtopnm -plain testgrid.pbm + +${PBM_BINPREFIX}pgmtopgm < testgrid.pbm | ${PBM_TESTPREFIX}pnmtopnm -plain + +${PBM_BINPREFIX}ppmtoppm < testgrid.pbm | ${PBM_TESTPREFIX}pnmtopnm -plain | \ + head -n11 |