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/pbmclean.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/pbmclean.test')
-rwxr-xr-x | test/pbmclean.test | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/pbmclean.test b/test/pbmclean.test index 28242d30..5f324c5e 100755 --- a/test/pbmclean.test +++ b/test/pbmclean.test @@ -8,15 +8,17 @@ alias pnmmargin="${PBM_BINPREFIX}pnmmargin" shopt -s expand_aliases -pbmmake -g 3 3 | pnmmargin -black 2 \ - >${tmpdir}/test.pbm +tmpdir=${tmpdir:-/tmp} +test_pbm=${tmpdir}/test.pbm + +pbmmake -g 3 3 | pnmmargin -black 2 > ${test_pbm} for n in 1 2 3 4 5 6 7 8 do -pbmclean -min=$n -black -plain ${tmpdir}/test.pbm +pbmclean -min=$n -black -plain ${test_pbm} done -rm ${tmpdir}/test.pbm +rm ${test_pbm} # Should print 760076056 4210813 pbmpage 1 | pbmclean -black | cksum |