| 1 |
#! /bin/sh -vx |
| 2 |
# $Id: odvitype.test 67982 2023-08-19 15:10:25Z takuji $ |
| 3 |
# Copyright 2017-2018 Karl Berry <[email protected]> |
| 4 |
# Copyright 2009 Peter Breitenlohner <[email protected]> |
| 5 |
# You may freely use, modify and/or distribute this file. |
| 6 |
|
| 7 |
BinDir=${BinDir:-.} |
| 8 |
ExeExt=${ExeExt:-} |
| 9 |
_odvitype=$BinDir/odvitype$ExeExt |
| 10 |
|
| 11 |
LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE |
| 12 |
|
| 13 |
tests=omegaware/tests |
| 14 |
|
| 15 |
test -d $tests || mkdir -p $tests |
| 16 |
|
| 17 |
TEXMFCNF=$srcdir/../kpathsea \ |
| 18 |
OFMFONTS=$srcdir/$tests \ |
| 19 |
$_odvitype $srcdir/$tests/ofontd0 | sed '1s/ (.*)$//' >$tests/xofontd0.typ || exit 1 |
| 20 |
|
| 21 |
diff $srcdir/$tests/ofontd0.typ $tests/xofontd0.typ || exit 2 |
| 22 |
|