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

# Copyright (C) 2009-2012 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"` \
    ./dvicopy $srcdir/tests/story tests/xstory.dvi || exit 1

fi

# Redirect stderr so the terminal output will end up in the log file.
(TEXMFCNF=$srcdir/../kpathsea \
  TFMFONTS=$srcdir/tests \
  VFFONTS=$srcdir/tests \
  ./dvicopy <$srcdir/tests/pplr.dvi >tests/xpplr.dvi) 2>&1 || exit 1