summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir/sample.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-04-30 13:03:35 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-04-30 13:03:35 +0000
commit35daa72a9b2a9d7c7e458f79e84f426a62040c28 (patch)
treeef2e4cea44e0802487a4ee7892a28fc2f4ce3b7f /Build/source/texk/web2c/ptexdir/sample.test
parent4349f673c5d312faa122aadd8b583fb4a0906d53 (diff)
more tests for pTeX tools
git-svn-id: svn://tug.org/texlive/trunk@18053 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ptexdir/sample.test')
-rwxr-xr-xBuild/source/texk/web2c/ptexdir/sample.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ptexdir/sample.test b/Build/source/texk/web2c/ptexdir/sample.test
new file mode 100755
index 00000000000..7c91290461f
--- /dev/null
+++ b/Build/source/texk/web2c/ptexdir/sample.test
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+test -d tests || mkdir -p tests
+
+tfmpath=`$KPSEWHICH cmbx10.tfm` || exit 77
+
+# Test inputs
+testdir=$srcdir/ptexdir/tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=$testdir:$(dirname $(dirname $(dirname $tfmpath)))// \
+ ./pdvitype -show-opcodes $testdir/sample >tests/xsample.typ || exit 1
+