blob: 7698ec245df89cec5ef4e320c1b2e0d748a69a50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2009 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_bibtex=$BinDir/bibtex$ExeExt
test -d tests || mkdir -p tests
rm -f tests/xexampl.*
$_bibtex -version || exit 100
cp $srcdir/tests/exampl.aux tests/xexampl.aux
TEXMFCNF=$srcdir/../kpathsea \
BSTINPUTS=$srcdir/tests \
BIBINPUTS=$srcdir/tests \
$_bibtex tests/xexampl || exit 1
diff $srcdir/tests/exampl.bbl tests/xexampl.bbl || exit 2
|