summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/expanded.test
blob: 86e553c2b27c8ae6957806b0e3cf102ccad6b06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh -vx
# $Id: expanded.test 804 2018-05-17 22:29:15Z karl $
# Public domain
# David Carlisle: version for \expanded based on existing test scripts
# by Peter Breitenlohner and Karl Berry.

LC_ALL=C; export LC_ALL;  LANGUAGE=C; export LANGUAGE

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