summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/tests/bibtexu.test
blob: d69dc5f656e81d96162f807a9d32c23a2a5e9e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh -vx
# $Id: bibtexu.test 63257 2022-05-08 13:25:05Z takuji $
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2010 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/../web2c/tests/exampl.aux tests/xexampl.aux

TEXMFCNF=$srcdir/../kpathsea \
  BSTINPUTS=$srcdir/../web2c/tests \
  BIBINPUTS=$srcdir/../web2c/tests \
  ./bibtexu tests/xexampl || test $? = 1 || exit 1
diff $srcdir/tests/exampl.bbl tests/xexampl.bbl || exit 2