diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-06-26 18:15:09 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-06-26 18:15:09 +0000 |
commit | aab4792db8e0adcaf63cf57a1f5e0b18666dae47 (patch) | |
tree | bbfa9c4e12783d2dfd785c4e10964366550e9a60 /test/pnmquantall.test | |
parent | fe14f983ade44baa0794e4ce58a1a5334e46cf68 (diff) | |
download | netpbm-mirror-aab4792db8e0adcaf63cf57a1f5e0b18666dae47.tar.gz netpbm-mirror-aab4792db8e0adcaf63cf57a1f5e0b18666dae47.tar.xz netpbm-mirror-aab4792db8e0adcaf63cf57a1f5e0b18666dae47.zip |
Promote Development to Advanced as Release 10.75.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2803 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pnmquantall.test')
-rwxr-xr-x | test/pnmquantall.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/pnmquantall.test b/test/pnmquantall.test new file mode 100755 index 00000000..f0f18ab0 --- /dev/null +++ b/test/pnmquantall.test @@ -0,0 +1,17 @@ +#! /bin/bash +# This script tests: pnmquantall +# Also requires: ppmtorgb3 pgmhist + +ppmtorgb3 testimg.ppm + +pnmquantall 20 testimg.red testimg.grn testimg.blu + +for i in testimg.red testimg.grn testimg.blu +do +cksum $i +done + +# Should print 1 + +pnmcat testimg.red testimg.grn testimg.blu -tb | \ + pgmhist -m | awk '$2>0 {s++}; END { print s<=20 }' |