summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/dvicopy.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/web2c/dvicopy.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/web2c/dvicopy.test')
-rwxr-xr-xBuild/source/texk/web2c/dvicopy.test13
1 files changed, 10 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/dvicopy.test b/Build/source/texk/web2c/dvicopy.test
index fee7675391f..67825f804ad 100755
--- a/Build/source/texk/web2c/dvicopy.test
+++ b/Build/source/texk/web2c/dvicopy.test
@@ -1,10 +1,17 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
-TEXMFCNF=$srcdir/../kpathsea \
- ./dvicopy $srcdir/tests/story tests/xstory.dvi ## || exit 1
-## failed with: TFM: font 1 = cmbx10(That was a fatal error, my friend.)
+if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
+
+ TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=`dirname $tfmpath` \
+ ./dvicopy $srcdir/tests/story tests/xstory.dvi || exit 1
+
+fi
# Redirect stderr so the terminal output will end up in the log file.
(TEXMFCNF=$srcdir/../kpathsea \