about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/palm-roundtrip.ok8
-rwxr-xr-xtest/palm-roundtrip.test4
2 files changed, 6 insertions, 6 deletions
diff --git a/test/palm-roundtrip.ok b/test/palm-roundtrip.ok
index 42bfe3db..5bd3cb0a 100644
--- a/test/palm-roundtrip.ok
+++ b/test/palm-roundtrip.ok
@@ -3,7 +3,7 @@
 584219238 236
 584219238 236
 584219238 236
-1
-1
-1
-1
+0
+0
+0
+0
diff --git a/test/palm-roundtrip.test b/test/palm-roundtrip.test
index 8699a3d1..9c053ba9 100755
--- a/test/palm-roundtrip.test
+++ b/test/palm-roundtrip.test
@@ -19,7 +19,7 @@ for flags in "" \
 rm ${test4bit_pgm}
 
 
-# Test 2. Should print 1 4 times
+# Test 2. Should print 0 4 times
 
 pnmquant 256 testimg.ppm > ${test256color_ppm}
 
@@ -27,7 +27,7 @@ for flags in "" \
              "-scanline_compression" \
              "-rle_compression" \
              "-packbits_compression" 
-  do pnmtopalm -colormap $flags ${test256color_ppm} | \
+  do pnmtopalm -colormap $flags ${test256color_ppm} | palmtopnm | \
      cmp -s - ${test256color_ppm} > /dev/null
      echo $?
   done