libtiff/test/tiff2ps-PS3.sh
2009-01-23 05:37:18 +00:00

20 lines
388 B
Bash
Executable File

#!/bin/sh
#
# Basic sanity check for tiffps with PostScript Level 3 output
#
. ${srcdir:-.}/common.sh
outfile=deleteme-$$.ps
operation=tiff2ps
${TIFF2PS} -a -3 ${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