From 2a82091a45d67cadfc93148176a446ffd67021f6 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 6 Jul 2014 22:04:28 +0000 Subject: 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 --- test/pamfile.test | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test/pamfile.test') diff --git a/test/pamfile.test b/test/pamfile.test index 689578f1..1c1d3d23 100755 --- a/test/pamfile.test +++ b/test/pamfile.test @@ -1,11 +1,14 @@ #! /bin/bash # This script tests: pamfile -# Also requires: ppmtopgm +# Also requires: pamchannel alias pamfile="${PBM_TESTPREFIX}pamfile" - alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm" shopt -s expand_aliases pamfile testimg.ppm pamfile testgrid.pbm -ppmtopgm testimg.ppm | pamfile +pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | pamfile +pamchannel -tupletype="GRAYSCALE" -infile=testimg.ppm 0 | pamfile + + + -- cgit 1.4.1