2019-03-22 05:00:52 -04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Basic sanity check for fax2tiff
|
|
|
|
#
|
|
|
|
. ${srcdir:-.}/common.sh
|
|
|
|
infile="${IMAGES}/miniswhite-1c-1b.g3"
|
|
|
|
outfile="o-fax2tiff.tiff"
|
2019-11-03 10:55:14 -05:00
|
|
|
rm -f $outfile
|
2019-03-22 05:00:52 -04:00
|
|
|
echo "$MEMCHECK ${FAX2TIFF} -M -o $outfile $infile"
|
2019-11-03 10:55:14 -05:00
|
|
|
eval $MEMCHECK ${FAX2TIFF} -M -o $outfile $infile
|
2019-03-22 05:00:52 -04:00
|
|
|
status=$?
|
|
|
|
if [ $status != 0 ] ; then
|
|
|
|
echo "Returned failed status $status!"
|
|
|
|
echo "Output (if any) is in \"${outfile}\"."
|
|
|
|
exit $status
|
|
|
|
fi
|
|
|
|
f_tiffinfo_validate $outfile
|