summaryrefslogtreecommitdiff
path: root/test/tiff2ps-PS1.sh
diff options
context:
space:
mode:
authorBob Friesenhahn <bfriesen@simple.dallas.tx.us>2009-08-23 22:58:25 +0000
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>2009-08-23 22:58:25 +0000
commit63e03ebcecfe099b704c7c8cac93e8535aaf4c88 (patch)
treed3c20d065b5ebb9f044df7212c09968d8feb73d4 /test/tiff2ps-PS1.sh
parent3237e5e1777dbdcd156ae231ccdd097be63eca2d (diff)
downloadlibtiff-git-63e03ebcecfe099b704c7c8cac93e8535aaf4c88.tar.gz
tiffcrop.sh into a collection of many specific tests. Re-wrote
all of the existing tests to be based on some simple shell functions. Make distcheck works again.
Diffstat (limited to 'test/tiff2ps-PS1.sh')
-rwxr-xr-xtest/tiff2ps-PS1.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/test/tiff2ps-PS1.sh b/test/tiff2ps-PS1.sh
index 44d0426c..296a1487 100755
--- a/test/tiff2ps-PS1.sh
+++ b/test/tiff2ps-PS1.sh
@@ -3,17 +3,4 @@
# Basic sanity check for tiffps with PostScript Level 1 output
#
. ${srcdir:-.}/common.sh
-outfile=deleteme-$$.ps
-operation=tiff2ps
-${TIFF2PS} -a -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
+f_test_convert "${TIFF2PS} -a -1" "${IMG_MINISWHITE_1C_1B}" "> o-tiff2ps-PS1.ps" \ No newline at end of file