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

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 1