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