summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tftopl.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/tftopl.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/tftopl.test')
-rwxr-xr-xBuild/source/texk/web2c/tftopl.test18
1 files changed, 14 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/tftopl.test b/Build/source/texk/web2c/tftopl.test
index 0241b542cbd..b9a87fed4ac 100755
--- a/Build/source/texk/web2c/tftopl.test
+++ b/Build/source/texk/web2c/tftopl.test
@@ -1,14 +1,24 @@
#! /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
./tftopl -char=foo -help || exit 1
-TEXMFCNF=$srcdir/../kpathsea \
- ./tftopl -verbose $srcdir/tests/cmr10 tests/xcmr10 || exit 1
+./tftopl -version || exit 1
-diff $srcdir/tests/cmr10.pl tests/xcmr10.pl || exit 1
+TEXMFCNF=$srcdir/../kpathsea
+export TEXMFCNF
+
+./tftopl -verbose $srcdir/tests/badtfm && exit 1
+
+./tftopl -verbose $srcdir/tests/cmr10 tests/xcmr10a || exit 1
+
+diff $srcdir/tests/cmr10.pl tests/xcmr10a.pl || exit 1
+
+./tftopl -verbose $srcdir/tests/cmr10 >tests/xcmr10b.pl || exit 1
+
+diff $srcdir/tests/cmr10.pl tests/xcmr10b.pl || exit 1