about summary refs log tree commit diff
path: root/test/pamdice-roundtrip.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-11-24 19:18:45 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-11-24 19:18:45 +0000
commit4296fe52a37736b7533b3bf447b29ad7933a3ab4 (patch)
tree87644c5b7e46fb333bcde7903f8dcf0de4964d3d /test/pamdice-roundtrip.test
parentb3f62ef1f3fb72b5674c4481dd25148fbe51850b (diff)
downloadnetpbm-mirror-4296fe52a37736b7533b3bf447b29ad7933a3ab4.tar.gz
netpbm-mirror-4296fe52a37736b7533b3bf447b29ad7933a3ab4.tar.xz
netpbm-mirror-4296fe52a37736b7533b3bf447b29ad7933a3ab4.zip
New test framework, lots of tests
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1775 9d0c8265-081b-0410-96cb-a4ca84ce46f8
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
+