summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/dvips.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-17 11:45:32 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-17 11:45:32 +0000
commitbe48da1b5ed5dec3139512047c260d5daf950f7e (patch)
tree2a791f53b97f99605fdd7561bbbaf1b984db21f8 /Build/source/texk/dvipsk/dvips.test
parent028aca944432d2b3e828e0aee00b36dc73d9ced5 (diff)
update tests for 'make check'
git-svn-id: svn://tug.org/texlive/trunk@13153 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/dvips.test')
-rwxr-xr-xBuild/source/texk/dvipsk/dvips.test27
1 files changed, 27 insertions, 0 deletions
diff --git a/Build/source/texk/dvipsk/dvips.test b/Build/source/texk/dvipsk/dvips.test
new file mode 100755
index 00000000000..0e5755be85d
--- /dev/null
+++ b/Build/source/texk/dvipsk/dvips.test
@@ -0,0 +1,27 @@
+#! /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
+
+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
+