summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/upbibtex.test
blob: 9a12a72cb04701a472b7c525ff555fd1d4264546 (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 2011-2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

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

cp $srcdir/tests/exampl.aux uptests/xexampl.aux

TEXMFCNF=$srcdir/../kpathsea \
  BSTINPUTS=$srcdir/tests \
  BIBINPUTS=$srcdir/tests \
  ./upbibtex uptests/xexampl || exit 1
diff $srcdir/tests/exampl.bbl uptests/xexampl.bbl || exit 2