Debian Codegraph @

texk/xdvipsk/thirdparty/libtiff/test/testfax3_bug_513.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 #
3 # check decoding of a CCITT Group 3 encoded TIFF
4 # hitting https://gitlab.com/libtiff/libtiff/-/issues/513
5 . ${srcdir:-.}/common.sh
6 infile="${IMAGES}/testfax3_bug_513.tiff"
7 outfile="o-testfax3_bug_513.tiff"
8 rmscip-shell system . . rm. -f $outfile
9 echoscip-shell system . . echo. "$MEMCHECK ${TIFFCP} -c none $infile $outfile"
10 eval "$MEMCHECK ${TIFFCP} -c none $infile $outfile"
11 status=$?
12 if [scip-shell system . . `[`. $status != 0 ] ; then
13 echoscip-shell system . . echo. "Returned failed status $status!"
14 echoscip-shell system . . echo. "Output (if any) is in \"${outfile}\"."
15 exit $status
16 fi
17 echoscip-shell system . . echo. "$MEMCHECK ${TIFFCMP} $outfile ${REFS}/$outfile"
18 eval "$MEMCHECK ${TIFFCMP} $outfile ${REFS}/$outfile"
19 status=$?
20 if [scip-shell system . . `[`. $status != 0 ] ; then
21 echoscip-shell system . . echo. "Returned failed status $status!"
22 echoscip-shell system . . echo. "\"${outfile}\" differs from reference file."
23 exit $status
24 fi