diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-11-25 23:02:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-11-25 23:02:05 +0000 |
commit | 33d7c4aaf44705573e4d9a53a706e594b6c7cdb8 (patch) | |
tree | 781d4d0a1bb24f42b9a5465b3512444436428033 /test/targa-roundtrip.test | |
parent | 2bac3b28489811b74478118dcfce12c9232d8f5e (diff) | |
download | netpbm-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/targa-roundtrip.test')
-rwxr-xr-x | test/targa-roundtrip.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/targa-roundtrip.test b/test/targa-roundtrip.test index 98d21881..79b01b61 100755 --- a/test/targa-roundtrip.test +++ b/test/targa-roundtrip.test @@ -54,7 +54,7 @@ pnmquant 256 testimg.ppm > ${test256_ppm} || echo "pnmquant failed" for mode in "-rgb" "-rgb -norle" "-cmap" "-cmap -norle" "" "-norle" do pamtotga ${mode} ${test256_ppm} | tgatoppm | cmp -s - ${test256_ppm} - echo $? + echo ${PIPESTATUS[@]} ":" $? done @@ -68,13 +68,13 @@ rm ${test256_ppm} for mode in "-cmap16" "-cmap16 -norle" do pamtotga ${mode} ${test256_31_ppm} | tgatoppm | cmp -s - ${test256_31_ppm} - echo $? + echo ${PIPESTATUS[@]} ":" $? done for mode in "-rgb" "-rgb -norle" "-cmap" "-cmap -norle" "" "-norle" do pamtotga ${mode} ${test256_31_ppm} | tgatoppm | \ pamdepth 31 | cmp -s - ${test256_31_ppm} - echo $? + echo ${PIPESTATUS[@]} ":" $? done rm ${test256_31_ppm} |