about summary refs log tree commit diff
path: root/test/gif-roundtrip.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-11-25 23:02:05 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-11-25 23:02:05 +0000
commit33d7c4aaf44705573e4d9a53a706e594b6c7cdb8 (patch)
tree781d4d0a1bb24f42b9a5465b3512444436428033 /test/gif-roundtrip.test
parent2bac3b28489811b74478118dcfce12c9232d8f5e (diff)
downloadnetpbm-mirror-33d7c4aaf44705573e4d9a53a706e594b6c7cdb8.tar.gz
netpbm-mirror-33d7c4aaf44705573e4d9a53a706e594b6c7cdb8.tar.xz
netpbm-mirror-33d7c4aaf44705573e4d9a53a706e594b6c7cdb8.zip
avoid false negatives in tests where input generation fails; add tests for -os2, -windows, -mapfile to BMP roundtrip test
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3441 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/gif-roundtrip.test')
-rwxr-xr-xtest/gif-roundtrip.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/gif-roundtrip.test b/test/gif-roundtrip.test
index b49cc6d2..1e6c7760 100755
--- a/test/gif-roundtrip.test
+++ b/test/gif-roundtrip.test
@@ -124,10 +124,10 @@ for size in 4030 4031 4097
     cmp - ${test_pgm}
   # pamdepth ${maxval} is necessary because
   # giftopnm output is maxval 255
-  echo -n ${size} $? ", "
+  echo -n ${size} ":" ${PIPESTATUS[@]} ":" $? ", "
   pamtogif -nolzw ${test_pgm} | giftopnm | pamdepth ${maxval} | \
     cmp - ${test_pgm}
-  echo ${size} $?
+  echo ${size} ":" ${PIPESTATUS[@]} ":" $?
   rm ${test_pgm}
   done 
 
@@ -153,10 +153,10 @@ for size in 238 239 240 241 255 256 257
   pamcut -height=${size} ${test257_pgm} > ${test_pgm} &&
   pamtogif -verbose ${test_pgm} | giftopnm | pamdepth ${maxval} | \
     cmp - ${test_pgm}
-  echo -n ${size} $? ", "
+  echo -n ${size} ":" ${PIPESTATUS[@]} ":" $? ", "
   pamtogif -nolzw -verbose ${test_pgm} | giftopnm | pamdepth ${maxval} | \
     cmp - ${test_pgm}
-  echo ${size} $?
+  echo ${size} ":" ${PIPESTATUS[@]} ":" $?
   rm ${test_pgm}
   done