blob: 819b09bf6cc0335b247d4999775fe7be5ac584c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/sh -vx
# $Id$
# Public domain
# David Carlisle: version for \expanded based on existing test scripts
# by Peter Breitenlohner and Karl Berry.
TEXMFCNF=$srcdir/../kpathsea
export TEXMFCNF
TEXINPUTS=$srcdir/pdftexdir/tests:.
export TEXINPUTS
./pdftex -ini -etex --interaction batchmode expanded.tex
sed -n -e 's/[\\]pdf/\\/g' -e '/START/,/END/p' expanded.log \
>expanded_pdftex.log || exit 1
diff "$srcdir/pdftexdir/tests/expanded.txt" expanded_pdftex.log || exit 1
exit 0
|