#! /bin/sh -vx # $Id$ # Copyright 2017 Karl Berry # Copyright 2011-2013 Peter Breitenlohner # You may freely use, modify and/or distribute this file. test -d uptests || mkdir -p uptests rm -f uptests/xexampl.* cp $srcdir/tests/exampl.aux uptests/xexampl.aux TEXMFCNF=$srcdir/../kpathsea \ BSTINPUTS=$srcdir/tests \ BIBINPUTS=$srcdir/tests \ ./upbibtex uptests/xexampl || exit 1 diff $srcdir/tests/exampl.bbl uptests/xexampl.bbl || exit 2