diff options
Diffstat (limited to 'Build/source/texk/bibtex8/tests/sort.test')
-rwxr-xr-x | Build/source/texk/bibtex8/tests/sort.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Build/source/texk/bibtex8/tests/sort.test b/Build/source/texk/bibtex8/tests/sort.test new file mode 100755 index 00000000000..e8afa6a720b --- /dev/null +++ b/Build/source/texk/bibtex8/tests/sort.test @@ -0,0 +1,22 @@ +#! /bin/sh + +# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +test -d tests || mkdir -p tests + +cp $srcdir/tests/sort.aux tests/xsort.aux + +for i in 1 2 3; do + +rm -f xsort.bbl + +TEXMFCNF=$srcdir/../kpathsea \ + BSTINPUTS=$srcdir/tests \ + BIBINPUTS=$srcdir/tests \ + ./bibtex8 --csfile $srcdir/tests/sort$i.csf tests/xsort || exit 1 + +diff $srcdir/tests/sort$i.bbl tests/xsort.bbl || exit 1 + +done + |