2008-05-24 18:24:25 -04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Basic sanity check for tiffps with PostScript Level 1 encapsulated output
|
|
|
|
#
|
2009-01-23 00:37:18 -05:00
|
|
|
. ${srcdir:-.}/common.sh
|
2008-05-24 18:24:25 -04:00
|
|
|
|
|
|
|
outfile=deleteme-$$.ps
|
|
|
|
operation=tiff2ps
|
|
|
|
${TIFF2PS} -a -e -1 ${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
|