diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-07-06 22:04:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-07-06 22:04:28 +0000 |
commit | 2a82091a45d67cadfc93148176a446ffd67021f6 (patch) | |
tree | 97de970b798441206a6294867eac8a8b9ea49b3b /test/pamdice-roundtrip.test | |
parent | 9ebbf59ad1a4272a182172f190908ea3f4d7227b (diff) | |
download | netpbm-mirror-2a82091a45d67cadfc93148176a446ffd67021f6.tar.gz netpbm-mirror-2a82091a45d67cadfc93148176a446ffd67021f6.tar.xz netpbm-mirror-2a82091a45d67cadfc93148176a446ffd67021f6.zip |
Use red plane of testimg.ppm for test PGM input; rewrite file names which use tmpdir in the manner of symmetry.test; add some failure messages
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2225 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamdice-roundtrip.test')
-rwxr-xr-x | test/pamdice-roundtrip.test | 9 |
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 |