diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-13 00:08:51 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-13 00:08:51 +0000 |
commit | a5d06d531c80a96a4041f8f19bdf89b847f71e80 (patch) | |
tree | ae8dafc409a0d8a88edae4fcec8b00298f3a8835 /test/tiff-flate-lzw-roundtrip.test | |
parent | b62eff9e0c76dcdab094bf9fe32355c543ea909f (diff) | |
download | netpbm-mirror-a5d06d531c80a96a4041f8f19bdf89b847f71e80.tar.gz netpbm-mirror-a5d06d531c80a96a4041f8f19bdf89b847f71e80.tar.xz netpbm-mirror-a5d06d531c80a96a4041f8f19bdf89b847f71e80.zip |
miscellaneous test updates
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4201 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/tiff-flate-lzw-roundtrip.test')
-rwxr-xr-x | test/tiff-flate-lzw-roundtrip.test | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/tiff-flate-lzw-roundtrip.test b/test/tiff-flate-lzw-roundtrip.test index 95bedb71..f62c6767 100755 --- a/test/tiff-flate-lzw-roundtrip.test +++ b/test/tiff-flate-lzw-roundtrip.test @@ -8,11 +8,11 @@ ## features. tmpdir=${tmpdir:-/tmp} - tartan_ppm=${tmpdir}/testimg40.ppm # Make a test image with reduced colors which compresses better -# cksum is 1079668603 10237 + +echo "Test 1. Should print 1079668603 10237 six times" ppmpat -tartan --color=rgb:32/0d/b7,rgb:31/58/a3,rgb:e9/5e/d4 71 48 | \ tee ${tartan_ppm} | cksum @@ -28,7 +28,9 @@ pamtotiff -adobeflate ${tartan_ppm} | tifftopnm | cksum pamtotiff -lzw ${tartan_ppm} | tifftopnm | cksum pamtotiff -lzw -predictor=1 ${tartan_ppm} | tifftopnm | cksum +rm ${tartan_ppm} + +echo "Test 2. Should print 281226646 481" + # PBM image: test flate compression pamtotiff -flate maze.pbm | tifftopnm | cksum - -rm ${tartan_ppm} |