summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/vftovp.test
diff options
context:
space:
mode:
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