about summary refs log tree commit diff
path: root/test/xpm-roundtrip.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/xpm-roundtrip.test')
-rwxr-xr-xtest/xpm-roundtrip.test10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/xpm-roundtrip.test b/test/xpm-roundtrip.test
index fd0253b1..c016c8c3 100755
--- a/test/xpm-roundtrip.test
+++ b/test/xpm-roundtrip.test
@@ -1,9 +1,11 @@
-#! /bin/bash
+#! /bin/sh
 # This script tests: ppmtoxpm xpmtoppm
 # Also requires: pgmtopbm ppmtopgm
 
+echo "Test 1. Should print 1926073387 101484"
+ppmtoxpm -hexonly testimg.ppm | \
+  xpmtoppm  | cksum
 
-#ppmtoxpm -hexonly testimg.ppm | \
-# xpmtoppm  | cksum
-ppmtoxpm testgrid.pbm | xpmtoppm | \
+echo "Test 2. Should print 281226646 481"
+ppmtoxpm maze.pbm | xpmtoppm | \
   ppmtopgm | pgmtopbm -th -value=0.5 | cksum