summaryrefslogtreecommitdiff
path: root/test/tiffcp-g4.sh
blob: b8ac49a3736d49f99430c5d8608ecc14091a6269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# Basic sanity check for tiffcp with G4 compression
#
. ${srcdir:-.}/common.sh
outfile=deleteme-$$.tif
operation=tiffcp
${TIFFCP} -c g4 ${IMG_MINISWHITE_1C_1B} $outfile
status=$?

if test $status -eq 0
then
  rm -f ${outfile}
else
  echo "Test failed (${operation} returns ${status}).  Please inspect these output files:"
  echo "  " ${outfile}
fi

exit $status