summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/vftovp.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-01-12 07:40:56 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-01-12 07:40:56 +0000
commit0de829485d275d17f89998dbbbde3f395bf857e6 (patch)
treea620ae3a87daa217c62577d6af846ded189ddcff /Build/source/texk/web2c/vftovp.test
parentd491195130658a9a332bf79d49dcc40a5af6244f (diff)
texk/web2c: TFtoPL: Non-zero return code in case of problems and more tests
git-svn-id: svn://tug.org/texlive/trunk@36036 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/vftovp.test')
-rwxr-xr-xBuild/source/texk/web2c/vftovp.test20
1 files changed, 15 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/vftovp.test b/Build/source/texk/web2c/vftovp.test
index c4a84b8bd20..6e8b01af288 100755
--- a/Build/source/texk/web2c/vftovp.test
+++ b/Build/source/texk/web2c/vftovp.test
@@ -1,15 +1,25 @@
#! /bin/sh
-# Copyright (C) 2009-2014 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d tests || mkdir -p tests
./vftovp -char=bar -help || exit 1
-TEXMFCNF=$srcdir/../kpathsea \
- TFMFONTS=$srcdir/tests \
- ./vftovp -verbose $srcdir/tests/ptmr ptmr tests/xptmr || exit 1
+./vftovp -version || exit 1
-diff $srcdir/tests/ptmr.vpl tests/xptmr.vpl || exit 1
+TEXMFCNF=$srcdir/../kpathsea
+TFMFONTS=$srcdir/tests
+export TEXMFCNF TFMFONTS
+
+./vftovp -verbose $srcdir/tests/badvf && exit 1
+
+./vftovp -verbose $srcdir/tests/ptmr ptmr tests/xptmra || exit 1
+
+diff $srcdir/tests/ptmr.vpl tests/xptmra.vpl || exit 1
+
+./vftovp -verbose $srcdir/tests/ptmr ptmr >tests/xptmrb.vpl || exit 1
+
+diff $srcdir/tests/ptmr.vpl tests/xptmrb.vpl || exit 1