blob: 7c861125dd074c50101f42714c239c54bd23d042 (
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 -vx
# $Id$
# Copyright 2022 Japanese TeX Development Community <issue@texjp.org>
# Copyright 2017-2020 Karl Berry <tex-live@tug.org>
# Copyright 2010-2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_updvitype=$BinDir/updvitype$ExeExt
test -d uptests || mkdir -p uptests
tfmpath=`$KPSEWHICH cmbx10.tfm` || exit 77
tfmparent=`dirname "$tfmpath"`
tfmgrandparent=`dirname "$tfmparent"`
# Test inputs
testdir=$srcdir/ptexdir/tests
TEXMFCNF=$srcdir/../kpathsea \
TFMFONTS="$testdir;"`dirname "$tfmgrandparent"`// \
$_updvitype -kanji=utf8 -show-opcodes $testdir/sample >uptests/xsample.typ || exit 1
sed 1d uptests/xsample.typ >uptests/xsamplea.typ
diff $testdir/samplea.typ uptests/xsamplea.typ || exit 1
|