1#! /bin/sh 2 3# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org> 4# You may freely use, modify and/or distribute this file. 5 6# Using test data from Philipp Lehman <lehman@gmx.net> 7 8test -d tests || mkdir -p tests 9 10cp $srcdir/tests/sort.aux tests/xsort.aux 11 12for i in 1 2 3; do 13 14rm -f xsort.bbl 15 16TEXMFCNF=$srcdir/../kpathsea \ 17 BSTINPUTS=$srcdir/tests \ 18 BIBINPUTS=$srcdir/tests \ 19 ./bibtex8 --csfile sort$i.csf tests/xsort || exit 1 20 21diff $srcdir/tests/sort$i.bbl tests/xsort.bbl || exit 1 22 23done 24 25