Debian Codegraph @

texk/bibtex-x/tests/bibtexu-yannis.test

raw
1 #! /bin/sh -vx
2 # $Id: bibtexu-yannis.test 67881 2023-08-11 11:46:28Z takuji $
3 # Copyright 2019-2021 Karl Berry <[email protected]>
4 # You may freely use, modify and/or distribute this file.
5 # Some actual sorting needed.
6
7 BinDir=${BinDir:-.}
8 ExeExt=${ExeExt:-}
9 _bibtexu=$BinDir/bibtexu$ExeExt
10
11 test -d tests || mkdir -p tests
12
13 testname=yannis
14
15 cp $srcdir/tests/$testname.aux tests/x$testname.aux || exit 1
16
17 TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
18 BSTINPUTS=$srcdir/../web2c/tests; export BSTINPUTS
19 BIBINPUTS=$srcdir/tests; export BIBINPUTS
20
21 if $_bibtexu -t -d all -l fr -o fr tests/x$testname; then :; else
22 echo "*** bibtexu failed, tests/x$testname.blg is:" >&2
23 cat tests/x$testname.blg >&2
24 exit 1
25 fi
26
27 diff $srcdir/tests/$testname.bbl tests/x$testname.bbl || exit 1
28
29 exit 0