diff options
author | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2008-05-24 22:24:25 +0000 |
---|---|---|
committer | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2008-05-24 22:24:25 +0000 |
commit | a4e657cc8a7fbd12a7c57dac6afedb57da84894f (patch) | |
tree | 30f5ab3daff2007908ba0c064238c7673d34f013 /test/tiff2ps-PS2.sh | |
parent | 75430ed5473d835af4eb9544542eb5bac63ee8a4 (diff) | |
download | libtiff-git-a4e657cc8a7fbd12a7c57dac6afedb57da84894f.tar.gz |
* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
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.
Diffstat (limited to 'test/tiff2ps-PS2.sh')
-rwxr-xr-x | test/tiff2ps-PS2.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/tiff2ps-PS2.sh b/test/tiff2ps-PS2.sh new file mode 100755 index 00000000..cd51a51f --- /dev/null +++ b/test/tiff2ps-PS2.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Basic sanity check for tiffps with PostScript Level 2 output +# +. ${srcdir}/common.sh +outfile=deleteme-$$.ps +operation=tiff2ps +${TIFF2PS} -a -2 ${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 |