| 1 |
#! /bin/sh -vx |
| 2 |
# $Id: dvicopy.test 68157 2023-09-03 11:26:37Z takuji $ |
| 3 |
# Copyright 2017 Karl Berry <[email protected]> |
| 4 |
# Copyright 2009-2012 Peter Breitenlohner <[email protected]> |
| 5 |
# You may freely use, modify and/or distribute this file. |
| 6 |
|
| 7 |
BinDir=${BinDir:-.} |
| 8 |
ExeExt=${ExeExt:-} |
| 9 |
_dvicopy=$BinDir/dvicopy$ExeExt |
| 10 |
|
| 11 |
test -d tests || mkdir -p tests |
| 12 |
|
| 13 |
if tfmpath=`$KPSEWHICH cmbx10.tfm`; then |
| 14 |
|
| 15 |
TEXMFCNF=$srcdir/../kpathsea \ |
| 16 |
TFMFONTS=`dirname "$tfmpath"` \ |
| 17 |
$_dvicopy $srcdir/tests/story tests/xstory.dvi || exit 1 |
| 18 |
|
| 19 |
fi |
| 20 |
|
| 21 |
# Redirect stderr so the terminal output will end up in the log file. |
| 22 |
(TEXMFCNF=$srcdir/../kpathsea \ |
| 23 |
TFMFONTS=$srcdir/tests \ |
| 24 |
VFFONTS=$srcdir/tests \ |
| 25 |
$_dvicopy <$srcdir/tests/pplr.dvi >tests/xpplr.dvi) 2>&1 || exit 2 |
| 26 |
|