summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/bibtex.test
blob: 6a02d662303a1504a00d5ed1a7db7fd996f40e38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /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.

test -d tests || mkdir -p tests
rm -f tests/xexampl.*

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