about summary refs log tree commit diff
path: root/test/pnm-plain-roundtrip.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pnm-plain-roundtrip.test')
-rwxr-xr-xtest/pnm-plain-roundtrip.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pnm-plain-roundtrip.test b/test/pnm-plain-roundtrip.test
new file mode 100755
index 00000000..3779d761
--- /dev/null
+++ b/test/pnm-plain-roundtrip.test
@@ -0,0 +1,9 @@
+#! /bin/bash
+# This script tests: pamtopnm
+#
+
+
+pamtopnm -plain testimg.ppm | \
+  pamtopnm | cksum
+pamtopnm -plain testgrid.pbm | \
+  pamtopnm | cksum