summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/updvitype.test
blob: 4931fbdbe33dbdce1216eb559ce1e05b3539c4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

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

test -d tests || mkdir -p tests

if tfmpath=`$KPSEWHICH cmbx10.tfm`; then

  TEXMFCNF=$srcdir/../kpathsea \
    TFMFONTS=`dirname $tfmpath` \
    ./updvitype -show-opcodes $srcdir/tests/story >tests/xstory.dvityp || exit 1

fi

TEXMFCNF=$srcdir/../kpathsea \
  TFMFONTS=$srcdir/tests \
  ./updvitype --p=\*.\*.2 $srcdir/tests/pagenum.dvi >tests/xpagenum.typ || exit 1