summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir/xetex-bug73.test
blob: e91428068323b6446b5c7b9c344f397b245bd462 (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

# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

TEXMFCNF=$srcdir/../kpathsea
TFMFONTS="$srcdir/tests;$srcdir/data"
T1FONTS="$srcdir/tests;$srcdir/data"
TEXFONTMAPS="$srcdir/tests;$srcdir/data"
DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data"
TEXPICTS=$srcdir/tests
export TEXMFCNF TFMFONTS T1FONTS TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS

failed=

echo "*** xetex bug73" && echo \
	&& ./xetex $srcdir/tests/bug73 \
	&& diff $srcdir/tests/bug73.log <(tail -n+2 bug73.log)
	&& echo && echo "xetex-bug73 tests OK" && echo \
	|| failed="$failed xetex-bug73"

test -z "$failed" && exit 0
echo
echo "failed tests:$failed"
exit 1