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