summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir/xetex-filedump.test
blob: a0f667e3575838f65f1f64afc947bb5542a848df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh -vx
# Copyright 2019 Karl Berry <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_xetex=$BinDir/xetex$ExeExt

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

TEXMFCNF=$srcdir/../kpathsea;export TEXMFCNF
TEXINPUTS=".;$srcdir/tests"; export TEXINPUTS
TEXFORMATS=.; export TEXFORMATS

# get same filename in log
rm -f filedump.tex
$LN_S $srcdir/xetexdir/tests/filedump.tex .

#exit 77

$_xetex -ini filedump || exit 1

sed 1d filedump.log >filedump.out

diff $srcdir/xetexdir/tests/filedump.log filedump.out || exit 2