about summary refs log tree commit diff
path: root/test/pamtopam.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pamtopam.test')
-rwxr-xr-xtest/pamtopam.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pamtopam.test b/test/pamtopam.test
new file mode 100755
index 00000000..1a4cdff6
--- /dev/null
+++ b/test/pamtopam.test
@@ -0,0 +1,9 @@
+#! /bin/bash
+# This script tests: pamtopam
+# Also requires: 
+
+${PBM_TESTPREFIX}pamtopam < testimg.ppm  | sed '/ENDHDR/q'
+${PBM_TESTPREFIX}pamtopam < testgrid.pbm | sed '/ENDHDR/q'
+
+${PBM_TESTPREFIX}pamtopam < testimg.ppm   | cksum
+${PBM_TESTPREFIX}pamtopam < testgrid.pbm  | cksum