summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/shorten.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/omegaware/shorten.test')
-rwxr-xr-xBuild/source/texk/web2c/omegaware/shorten.test27
1 files changed, 27 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegaware/shorten.test b/Build/source/texk/web2c/omegaware/shorten.test
new file mode 100755
index 00000000000..e243df84205
--- /dev/null
+++ b/Build/source/texk/web2c/omegaware/shorten.test
@@ -0,0 +1,27 @@
+#! /bin/sh -vx
+# $Id$
+# Copyright 2017 Karl Berry <tex-live@tug.org>
+# Copyright 2014 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
+
+TEXMFCNF=$srcdir/../kpathsea
+export TEXMFCNF
+
+echo && echo "pltotf $tests/shorten.opl $tests/shortend.tfm" && \
+ ./pltotf $srcdir/$tests/shorten.opl $tests/shortend.tfm || exit
+
+echo && echo "wofm2opl $tests/shorten.tfm $tests/shortend.pl" && \
+ ./wofm2opl $tests/shortend.tfm $tests/shortend.pl || exit
+
+echo && echo "wopl2ofm $tests/shorten $tests/shortend" && \
+ ./wopl2ofm $srcdir/$tests/shorten $tests/shortend || exit
+
+echo && echo "wofm2opl $tests/shorten $tests/shortend" && \
+ ./wofm2opl $tests/shortend $tests/shortend || exit
+
+diff $tests/shortend.pl $tests/shortend.opl || exit
+