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/facesaver-roundtrip.test | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/facesaver-roundtrip.test') diff --git a/test/facesaver-roundtrip.test b/test/facesaver-roundtrip.test index 362edaf5..76de380d 100755 --- a/test/facesaver-roundtrip.test +++ b/test/facesaver-roundtrip.test @@ -1,13 +1,12 @@ #! /bin/bash # This script tests: pgmtofs fstopgm -# Also requires: ppmtopgm +# Also requires: pamchannel alias fstopgm="${PBM_TESTPREFIX}fstopgm" alias pgmtofs="${PBM_TESTPREFIX}pgmtofs" - alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm" shopt -s expand_aliases -# Should produce 2871603838 33838, cksum of testimg.pgm +# Should produce 1571496937 33838, cksum of testimg.red -ppmtopgm testimg.ppm | \ +pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \ pgmtofs | fstopgm | cksum -- cgit 1.4.1