summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/shorten.test
blob: 10ede61145127168521d6fa11d464ff04638e1c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh

# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

tests=tests

test -d $tests || mkdir -p $tests

TEXMFCNF=$srcdir/../../kpathsea
export TEXMFCNF

sed -e'/CHECKSUM/d' $srcdir/$tests/shorten.opl >$tests/shortend.in

echo && echo "pltotf $tests/shortend.in $tests/shortend.tfm" && \
  ../pltotf $tests/shortend.in $tests/shortend.tfm || exit

echo && echo "omfonts -ofm2opl $tests/shorten.tfm $tests/shortend.pl" && \
  ./omfonts -ofm2opl $tests/shortend.tfm $tests/shortend.pl || exit

echo && echo "omfonts -opl2ofm $tests/shorten $tests/shortend" && \
  ./omfonts -opl2ofm $srcdir/$tests/shorten $tests/shortend || exit

echo && echo "omfonts -ofm2opl $tests/shorten $tests/shortend" && \
  ./omfonts -ofm2opl $tests/shortend $tests/shortend || exit

diff $tests/shortend.pl $tests/shortend.opl || exit