From b9fa1f6e4aac121cbc3a3e1f59eecda065f9da4b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 12 Oct 2020 19:29:43 +0200 Subject: [PATCH] test: add testdeflatelaststripextradata.sh --- test/CMakeLists.txt | 3 +- test/Makefile.am | 7 ++- test/images/README.txt | 3 ++ .../images/deflate-last-strip-extra-data.tiff | Bin 0 -> 12789 bytes .../refs/o-deflate-last-strip-extra-data.tiff | Bin 0 -> 12560 bytes test/testdeflatelaststripextradata.sh | 43 ++++++++++++++++++ 6 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 test/images/deflate-last-strip-extra-data.tiff create mode 100644 test/refs/o-deflate-last-strip-extra-data.tiff create mode 100755 test/testdeflatelaststripextradata.sh diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5a1a7420..bffb8bf7 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -109,7 +109,8 @@ set(TESTSCRIPTS tiff2rgba-ojpeg_zackthecat_subsamp22_single_strip.sh tiff2rgba-ojpeg_chewey_subsamp21_multi_strip.sh tiff2rgba-ojpeg_single_strip_no_rowsperstrip.sh - testfax4.sh) + testfax4.sh + testdeflatelaststripextradata.sh) # This list should contain all of the TIFF files in the 'images' # subdirectory which are intended to be used as input images for diff --git a/test/Makefile.am b/test/Makefile.am index 42e9f593..4973b614 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -150,6 +150,7 @@ TESTSCRIPTS = \ tiff2rgba-rgb-3c-16b.sh \ tiff2rgba-rgb-3c-8b.sh \ testfax4.sh \ + testdeflatelaststripextradata.sh \ $(JPEG_DEPENDENT_TESTSCRIPTS) # This list should contain the references files @@ -159,7 +160,8 @@ REFFILES = \ refs/o-tiff2ps-PS1.ps \ refs/o-tiff2ps-PS2.ps \ refs/o-tiff2ps-PS3.ps \ - refs/o-testfax4.tiff + refs/o-testfax4.tiff \ + refs/o-deflate-last-strip-extra-data.tiff # This list should contain all of the TIFF files in the 'images' # subdirectory which are intended to be used as input images for @@ -181,7 +183,8 @@ TIFFIMAGES = \ images/ojpeg_zackthecat_subsamp22_single_strip.tiff \ images/ojpeg_chewey_subsamp21_multi_strip.tiff \ images/ojpeg_single_strip_no_rowsperstrip.tiff \ - images/testfax4.tiff + images/testfax4.tiff \ + images/deflate-last-strip-extra-data.tiff PNMIMAGES = \ images/minisblack-1c-8b.pgm \ diff --git a/test/images/README.txt b/test/images/README.txt index b6447d8e..4a7ad829 100644 --- a/test/images/README.txt +++ b/test/images/README.txt @@ -30,3 +30,6 @@ PNM files: G3 Fax files : miniswhite-1c-1b.g3 + +deflate-last-strip-extra-data.tiff is +https://github.com/OSGeo/gdal/blob/master/autotest/alg/data/utmsmall_near.tiff diff --git a/test/images/deflate-last-strip-extra-data.tiff b/test/images/deflate-last-strip-extra-data.tiff new file mode 100644 index 0000000000000000000000000000000000000000..e3ee9dcc07ea506251fa083cfbb11159b672be46 GIT binary patch literal 12789 zcmZvC2UrtJ_jl|CL;(Tm(v=p9N(YhNMT7_ukS@}M03o!fpb(HQy-=|w=gQly0- z9Rz~31f&EAEtKS2yx#YE|Ie3aemf_d&79qHX3m~6T3Ujjvmg-Y5(sqc1n3w*Z32g5 zf6&K&(??gG_=7(En?Cvv?Xi=ft3a<0d|~+GJmYT~7#+m)`x*>Dv;A?6!XLEJA2dx6 zHRuFzEe06#MKCq!G(h73x+LVpFJ6qtL7=jb;~+NRya_-beeMCjrvQKekO2?^01Chb zKsf+I0LB240jL6y0}u+p41fiIIsi`rH~{zrz#V`GfGGg403ZO200;ws1TX_28bB-n zW&j?*eY65MZE*?&sswI$^$ZB)bq)mjb{+&$pay{m7eJuf7eSzSKp>)Y!1eSXP|;-& z=q4iw6vYGrty}?t-m`!}SAd5?vV%ZUoWS?1AP@^T2t?um&hddjyZj(f?==v}R1gFj z6#{{3ML-~JFbFgu_Dcl7f%o>`)Ia?{=l}oxZ5)g8(J$x>-Cz9?eeBmv0B-)|-!!1Q zU+0dWEDK>c`u%KK$Y~G*=rk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HFtK_I;#{1R}PQo>$^#Z zb<=31BMy{c{aO7l0N@k_;1mD=*e1W6`mKNZSN{U}JBr`>=YI81enWfe4B!U&{f#gH zK=<3{^uP5Pe)Va{*D?OOo`!rq%Wv1n{npp}txx_5K$k2il?)>?q{s*-!-Nc1GAhW> zA;W+S7#T`r$dM6AhB+CQWYm%2P6n8a8Ztb{@FZiJjF)8ikugF>6d568%#rbijCe9m zk#REr6M2Nw0D$@#03h@%0C4F%0ANG@qVFOA@SG9==%)ezcrOD0NNTdKXaRsbbO1o- z6##&To_sw603dq}04QW4>xdZu=wKnwgN^(@J6R?N06@bu Q8vFpjgaCPtLIA-30Tt?o+W-In literal 0 HcmV?d00001 diff --git a/test/testdeflatelaststripextradata.sh b/test/testdeflatelaststripextradata.sh new file mode 100755 index 00000000..115eb226 --- /dev/null +++ b/test/testdeflatelaststripextradata.sh @@ -0,0 +1,43 @@ +#!/bin/sh +# +# check decoding of a deflate compressed file whose last strip which should +# contain data for only 4 lines has more in it. +. ${srcdir:-.}/common.sh +infile="${IMAGES}/deflate-last-strip-extra-data.tiff" +outfile="o-deflate-last-strip-extra-data.tiff" +rm -f $outfile +echo "$MEMCHECK ${TIFFCP} -c zip $infile $outfile" +eval "$MEMCHECK ${TIFFCP} -c zip $infile $outfile" +status=$? +if [ $status != 0 ] ; then + echo "Returned failed status $status!" + echo "Output (if any) is in \"${outfile}\"." + exit $status +fi +echo "$MEMCHECK ${TIFFCMP} $outfile ${REFS}/$outfile" +eval "$MEMCHECK ${TIFFCMP} $outfile ${REFS}/$outfile" +status=$? +if [ $status != 0 ] ; then + echo "Returned failed status $status!" + echo "\"${outfile}\" differs from reference file." + exit $status +fi + +outfile="o-deflate-last-strip-extra-data-tiled.tiff" +rm -f $outfile +echo "$MEMCHECK ${TIFFCP} -c zip -t -w 256 -l 256 $infile $outfile" +eval "$MEMCHECK ${TIFFCP} -c zip -t -w 256 -l 256 $infile $outfile" +status=$? +if [ $status != 0 ] ; then + echo "Returned failed status $status!" + echo "Output (if any) is in \"${outfile}\"." + exit $status +fi +echo "$MEMCHECK ${TIFFCMP} $outfile ${REFS}/o-deflate-last-strip-extra-data.tiff" +eval "$MEMCHECK ${TIFFCMP} $outfile ${REFS}/o-deflate-last-strip-extra-data.tiff" +status=$? +if [ $status != 0 ] ; then + echo "Returned failed status $status!" + echo "\"${outfile}\" differs from reference file." + exit $status +fi