summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/specialhex.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/specialhex.test')
-rwxr-xr-xBuild/source/texk/web2c/omegafonts/specialhex.test29
1 files changed, 29 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegafonts/specialhex.test b/Build/source/texk/web2c/omegafonts/specialhex.test
new file mode 100755
index 00000000000..1e3046c08c4
--- /dev/null
+++ b/Build/source/texk/web2c/omegafonts/specialhex.test
@@ -0,0 +1,29 @@
+#! /bin/sh -vx
+# $Id$
+# Copyright 2017 Karl Berry <tex-live@tug.org>
+# Copyright 2009, 2011 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 \
+ OFMFONTS=tests \
+ ./omfonts -ovp2ovf -verbose $srcdir/tests/specialhex tests/specialhex tests/specialhex || exit 1
+
+TEXMFCNF=$srcdir/../../kpathsea \
+ ./omfonts -ofm2opl -verbose tests/specialhex tests/specialhex || exit 1
+
+TEXMFCNF=$srcdir/../../kpathsea \
+ ./omfonts -opl2ofm -verbose tests/specialhex tests/xspecialhex || exit 1
+
+TEXMFCNF=$srcdir/../../kpathsea \
+ ./omfonts -ofm2opl -verbose tests/xspecialhex tests/xspecialhex || exit 1
+
+diff tests/specialhex.opl tests/xspecialhex.opl || exit 1
+
+TEXMFCNF=$srcdir/../../kpathsea \
+ OFMFONTS=.:./tests \
+ ./omfonts -ovf2ovp -verbose tests/specialhex tests/specialhex tests/xspecialhex || exit 1
+
+diff $srcdir/tests/specialhex.ovp tests/xspecialhex.ovp || exit 1
+