summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/tests/bibtex8.test
blob: 1341d1988b879b898ca6144f3c686cb875b202bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh -vx
# $Id: bibtex8.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/xexampl.* # different filenames than bibtexu.test

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

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