diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-01-02 16:28:37 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-01-02 16:28:37 +0000 |
commit | 71d4c2e05abc34d82d505c96af9bd918846f9cec (patch) | |
tree | 41e3c5cc4dcba05e59843dbed2cf8f4eca2c98d2 /test/gif-quant-roundtrip.test | |
parent | e165c1cd02e9ea5b868b0a43b20e1bd96d40e6ff (diff) | |
download | netpbm-mirror-71d4c2e05abc34d82d505c96af9bd918846f9cec.tar.gz netpbm-mirror-71d4c2e05abc34d82d505c96af9bd918846f9cec.tar.xz netpbm-mirror-71d4c2e05abc34d82d505c96af9bd918846f9cec.zip |
use aliases to make tests easier to read and modify; add white line to top in Pnmshear test
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2098 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/gif-quant-roundtrip.test')
-rwxr-xr-x | test/gif-quant-roundtrip.test | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/gif-quant-roundtrip.test b/test/gif-quant-roundtrip.test index 5e093b29..b5f69edd 100755 --- a/test/gif-quant-roundtrip.test +++ b/test/gif-quant-roundtrip.test @@ -2,12 +2,17 @@ # This script tests: giftopnm pamtogif pnmquant # Also requires: pnmcolormap pnmremap + alias giftopnm="${PBM_TESTPREFIX}giftopnm" + alias pamtogif="${PBM_TESTPREFIX}pamtogif" + alias pnmquant="${PBM_TESTPREFIX}pnmquant" + shopt -s expand_aliases + # Should print 0 colors=15 # any value between 2 - 256 works -${PBM_TESTPREFIX}pnmquant $colors testimg.ppm > ${tmpdir}/quant.ppm && -${PBM_TESTPREFIX}pamtogif ${tmpdir}/quant.ppm | ${PBM_TESTPREFIX}giftopnm | \ +pnmquant $colors testimg.ppm > ${tmpdir}/quant.ppm && +pamtogif ${tmpdir}/quant.ppm | giftopnm | \ cmp -s - ${tmpdir}/quant.ppm > /dev/null echo $? |