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>2014-09-26 16:03:01 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-09-26 16:03:01 +0000
commit67e1689f9d7e6b8dfffe393f2d318e3e374c7a36 (patch)
tree5943a3e98e1f12ed80d92e2cb8c5623d8af9fcd3 /test/pamdice-roundtrip.test
parentfd6e24ededb4ee1e92e101ea50fe21d88630c17f (diff)
downloadnetpbm-mirror-67e1689f9d7e6b8dfffe393f2d318e3e374c7a36.tar.gz
netpbm-mirror-67e1689f9d7e6b8dfffe393f2d318e3e374c7a36.tar.xz
netpbm-mirror-67e1689f9d7e6b8dfffe393f2d318e3e374c7a36.zip
Promote current development as Release 10.68
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2294 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamdice-roundtrip.test')
-rwxr-xr-xtest/pamdice-roundtrip.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/pamdice-roundtrip.test b/test/pamdice-roundtrip.test
index 7319249a..7b863bca 100755
--- a/test/pamdice-roundtrip.test
+++ b/test/pamdice-roundtrip.test
@@ -6,8 +6,11 @@
   alias pamundice="${PBM_TESTPREFIX}pamundice"
   shopt -s expand_aliases
 
-pamdice testimg.ppm -outstem=${tmpdir}/a -width=50 -height=40
-pamundice ${tmpdir}/a_%1d_%1a.ppm -down=4 -across=5 | cksum
+tmpdir=${tmpdir:-/tmp}
+fname_stem=${tmpdir}/a
 
-rm ${tmpdir}/a_?_?.ppm
+pamdice testimg.ppm -outstem=${fname_stem} -width=50 -height=40
+pamundice ${fname_stem}_%1d_%1a.ppm -down=4 -across=5 | cksum
+
+rm ${fname_stem}_?_?.ppm