summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/odvicopy.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:27:09 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:27:09 +0000
commit5e8e9500102800e68c9e7fcac9e85c1668b71a36 (patch)
tree81d79ac70ffbb127e8063f18c8f55475ca169ee1 /Build/source/texk/web2c/omegaware/odvicopy.test
parente6a9c88ada2f11dd61e4c4e39dff84944bed5787 (diff)
towards TL2010: texk/web2c
git-svn-id: svn://tug.org/texlive/trunk@15964 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegaware/odvicopy.test')
-rwxr-xr-xBuild/source/texk/web2c/omegaware/odvicopy.test56
1 files changed, 56 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegaware/odvicopy.test b/Build/source/texk/web2c/omegaware/odvicopy.test
new file mode 100755
index 00000000000..9b836657c25
--- /dev/null
+++ b/Build/source/texk/web2c/omegaware/odvicopy.test
@@ -0,0 +1,56 @@
+#! /bin/sh
+
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+tests=omegaware/tests
+
+test -d $tests || mkdir -p $tests
+
+# First a straight copy
+#
+rm -f ofont*vf
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=$srcdir/$tests \
+ OVFFONTS=. \
+ ./odvicopy $srcdir/$tests/ofontd0 $tests/xofontd1 || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=$srcdir/$tests \
+ ./odvitype $tests/xofontd1 | sed '1s/ (.*)$//' >$tests/xofontd1.typ || exit 1
+
+diff $srcdir/$tests/ofontd1.typ $tests/xofontd1.typ || exit 1
+
+# Next with VF/OVF files for ofontv[4-6]
+#
+cp $srcdir/$tests/ofontv*vf .
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=$srcdir/$tests \
+ OVFFONTS=. \
+ ./odvicopy $tests/xofontd1 $tests/xofontd2 || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=$srcdir/$tests \
+ ./odvitype $tests/xofontd2 | sed '1s/ (.*)$//' >$tests/xofontd2.typ || exit 1
+
+diff $srcdir/$tests/ofontd2.typ $tests/xofontd2.typ || exit 1
+
+# Finally with OVF files for ofontr[1-3] and ofontv[4-6]
+#
+cp $srcdir/$tests/ofontr*vf .
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=$srcdir/$tests \
+ OVFFONTS=. \
+ ./odvicopy $srcdir/$tests/ofontd0 $tests/xofontd3 || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=$srcdir/$tests \
+ ./odvitype $tests/xofontd3 | sed '1s/ (.*)$//' >$tests/xofontd3.typ || exit 1
+
+diff $srcdir/$tests/ofontd3.typ $tests/xofontd3.typ || exit 1
+
+exit 0
+