diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-01-15 17:30:58 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-01-15 17:30:58 +0000 |
commit | fc4f292f60ab17b24bbf2908626c103fbbcb83f9 (patch) | |
tree | 2eb8eb09fd0c86b6f0bf456bd9637d3357053df2 /test/pnmtopnm-plain.test | |
parent | a05f13ac5011d448e1b58f64eca4c97b6ee2dbed (diff) | |
download | netpbm-mirror-fc4f292f60ab17b24bbf2908626c103fbbcb83f9.tar.gz netpbm-mirror-fc4f292f60ab17b24bbf2908626c103fbbcb83f9.tar.xz netpbm-mirror-fc4f292f60ab17b24bbf2908626c103fbbcb83f9.zip |
miscellaneous test updates
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4246 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pnmtopnm-plain.test')
-rwxr-xr-x | test/pnmtopnm-plain.test | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/test/pnmtopnm-plain.test b/test/pnmtopnm-plain.test index 5b7e4b48..87b74064 100755 --- a/test/pnmtopnm-plain.test +++ b/test/pnmtopnm-plain.test @@ -1,10 +1,14 @@ -#! /bin/bash +#! /bin/sh # This script tests: pamtopnm -# Also requires: pgmtopgm ppmtoppm +# Also requires: pbmmake pgmramp ppmpat -pamtopnm -plain testgrid.pbm +echo "Test. Should print three identical images in plain format, twice each" -pgmtopgm < testgrid.pbm | pamtopnm -plain +pbmmake -g 5 5 -plain +pbmmake -g 5 5 | pamtopnm -plain -ppmtoppm < testgrid.pbm | pamtopnm -plain | \ - head -n11 +pgmramp -maxval 7 -diag 8 8 -plain +pgmramp -maxval 7 -diag 8 8 | pamtopnm -plain + +ppmpat -g2 -color=rgb:00/1f/ff,rgb:3f/00/00 -mesh 4 4 -plain +ppmpat -g2 -color=rgb:00/1f/ff,rgb:3f/00/00 -mesh 4 4 | pamtopnm -plain |