#! /bin/sh -vx # $Id$ # Copyright 2017 Karl Berry # Copyright 2010 Peter Breitenlohner # 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