about summary refs log tree commit diff
path: root/test/pamdice-roundtrip.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pamdice-roundtrip.test')
-rwxr-xr-xtest/pamdice-roundtrip.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pamdice-roundtrip.test b/test/pamdice-roundtrip.test
new file mode 100755
index 00000000..06fef8b2
--- /dev/null
+++ b/test/pamdice-roundtrip.test
@@ -0,0 +1,9 @@
+#! /bin/bash
+# This script tests: pamdice pamundice
+# Also requires: 
+
+${PBM_TESTPREFIX}pamdice testimg.ppm -outstem=${tmpdir}/a -width=50 -height=40
+${PBM_TESTPREFIX}pamundice ${tmpdir}/a_%1d_%1a.ppm -down=4 -across=5 | cksum
+
+rm ${tmpdir}/a_?_?.ppm
+