a4e657cc8a
tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh tiffdump.sh tiffinfo.sh}: Added more test scripts based on suggestions from Lee Howard posted to the tiff list on 13 Sep 2007.
20 lines
370 B
Bash
Executable File
20 lines
370 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Basic sanity check for tiffinfo.
|
|
#
|
|
. ${srcdir}/common.sh
|
|
outfile=deleteme-$$.txt
|
|
operation=tiffinfo
|
|
${TIFFINFO} -c -D -d -j -s ${IMG_MINISBLACK_1C_16B} > $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
|