summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/tests/bibtex8.test
blob: ab3d2c2ab9763aa6625191a68a1ea69ccdd190a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh -vx
# $Id$
# 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