summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/dvips.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-28 15:05:13 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-28 15:05:13 +0000
commit316f6e7ed33df8c1f71fde445dbbead45173c67d (patch)
treeb487a4e8422fbc17bfcf4af77200eba2ced7c395 /Build/source/texk/dvipsk/dvips.test
parent36701c8f42a42bbdcb3946c4ca5ba24f2440478f (diff)
dvipsk: intall data and doc, add test cases
git-svn-id: svn://tug.org/texlive/trunk@13507 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/dvips.test')
-rwxr-xr-xBuild/source/texk/dvipsk/dvips.test26
1 files changed, 5 insertions, 21 deletions
diff --git a/Build/source/texk/dvipsk/dvips.test b/Build/source/texk/dvipsk/dvips.test
index 0e5755be85d..253515a5ce7 100755
--- a/Build/source/texk/dvipsk/dvips.test
+++ b/Build/source/texk/dvipsk/dvips.test
@@ -1,27 +1,11 @@
#! /bin/sh
-echo "KPSEWHICH=\"$KPSEWHICH\""
-
rm -f mtest.ps
-set -x
-
-TEXMFCNF=$srcdir/../kpathsea \
- TFMFONTS=$srcdir/testdata: \
- VFFONTS=$srcdir/testdata: \
- TEXPSHEADERS=$srcdir/testdata: \
- TEXCONFIG=$srcdir/testdata: \
- ./dvips -D 300 $srcdir/testdata/dvipstst.xdv -o dvipstst.ps
-
-exit 77
+./dvips -D 300 $srcdir/testdata/dvipstst.xdv -o dvipstst.ps
+mv dvipstst.ps mtest.ps || exit 1
+./dvips -D 300 $srcdir/testdata/dvipstst.xdv -o || exit 1
+diff $srcdir/testdata/dvipstst.xps dvipstst.ps
-checkenv = TEXMFCNF=../kpathsea \
- TFMFONTS=$srcdir/testdata: VFFONTS=$srcdir/testdata: \
- TEXPSHEADERS=$srcdir/testdata: TEXCONFIG=$srcdir/testdata:
-
-rm -f mtest.ps
--($checkenv ./dvips -D 300 $srcdir/testdata/dvipstst.xdv -o dvipstst.ps)
-mv dvipstst.ps mtest.ps
--($checkenv ./dvips -D 300 $srcdir/testdata/dvipstst.xdv -o)
--diff $srcdir/testdata/dvipstst.xps dvipstst.ps
+exit 0