diff options
Diffstat (limited to 'test/pad-crop-roundtrip.test')
-rwxr-xr-x | test/pad-crop-roundtrip.test | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/pad-crop-roundtrip.test b/test/pad-crop-roundtrip.test index 2b3c777b..ae19f7d5 100755 --- a/test/pad-crop-roundtrip.test +++ b/test/pad-crop-roundtrip.test @@ -2,7 +2,11 @@ # This script tests: pnmcrop pnmmargin # Also requires: pnmpad -${PBM_TESTPREFIX}pnmmargin -white 10 testimg.ppm | \ - ${PBM_TESTPREFIX}pnmcrop | cksum -${PBM_TESTPREFIX}pnmmargin -white 10 testgrid.pbm | \ - ${PBM_TESTPREFIX}pnmcrop | cksum + alias pnmcrop="${PBM_TESTPREFIX}pnmcrop" + alias pnmmargin="${PBM_TESTPREFIX}pnmmargin" + shopt -s expand_aliases + +pnmmargin -white 10 testimg.ppm | \ + pnmcrop | cksum +pnmmargin -white 10 testgrid.pbm | \ + pnmcrop | cksum |