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

# Copyright (C) 2009, 2010 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` \
    ./dvitype -show-opcodes $srcdir/tests/story >tests/xstory.dvityp || exit 1

fi

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