summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/tests/bibtexu.test
blob: fa4c5e7bc41544de6c29ffa8634895198c75cb32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh -vx
# $Id: bibtexu.test 66832 2023-04-12 17:45:08Z karl $
# Copyright 2017-2023 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/uexampl.* # different filenames than bibtex8.test

cp $srcdir/../web2c/tests/exampl.aux tests/uexampl.aux || exit 1

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