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

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

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

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