about summary refs log tree commit diff
path: root/test/palm-roundtrip.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-12-06 03:35:30 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-12-06 03:35:30 +0000
commitb62eff9e0c76dcdab094bf9fe32355c543ea909f (patch)
treed9fcb02c5a8830d088657885f5e55340b29ae767 /test/palm-roundtrip.test
parent59bf40d2b1cfe85111b15ec05f8c124f657aefe2 (diff)
downloadnetpbm-mirror-b62eff9e0c76dcdab094bf9fe32355c543ea909f.tar.gz
netpbm-mirror-b62eff9e0c76dcdab094bf9fe32355c543ea909f.tar.xz
netpbm-mirror-b62eff9e0c76dcdab094bf9fe32355c543ea909f.zip
Add maze.pbm test image, update tests to use it
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4200 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/palm-roundtrip.test')
-rwxr-xr-xtest/palm-roundtrip.test10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/palm-roundtrip.test b/test/palm-roundtrip.test
index b00454ca..20fcefa9 100755
--- a/test/palm-roundtrip.test
+++ b/test/palm-roundtrip.test
@@ -6,11 +6,9 @@ tmpdir=${tmpdir:-/tmp}
 test4bit_pgm=${tmpdir}/test4bit.pgm
 test256color_ppm=${tmpdir}/test256color.ppm
 
-# Test 1. Should print 584219238 236  5 times
+echo "Test 1. Should print 2067616594 3375 five times"
 
-echo "Test 1"
-
-pamdepth 15 testgrid.pbm | tee ${test4bit_pgm} | cksum
+pamdepth 15 maze.pbm | tee ${test4bit_pgm} | cksum
 
 for flags in "" \
              "-scanline_compression" \
@@ -21,9 +19,7 @@ for flags in "" \
 rm ${test4bit_pgm}
 
 
-# Test 2. Should print 0 4 times
-
-echo "Test 2"
+echo "Test 2. Should print 0 0 0  : 0 four times"
 
 pnmquant 256 testimg.ppm > ${test256color_ppm} || echo "pnmquant failed"