Debian Codegraph @

texk/web2c/uptexdir/unibib.test

raw
1 #! /bin/sh -vx
2 # $Id: unibib.test 69812 2024-02-11 23:09:24Z karl $
3 # Copyright 2023 Karl Berry <[email protected]>
4 # You may freely use, modify and/or distribute this file.
5
6 BinDir=${BinDir:-.}
7 ExeExt=${ExeExt:-}
8 _upbibtex=$BinDir/upbibtex$ExeExt
9
10 test -d uptests || mkdir -p uptests
11
12 # Test inputs
13 testdir=$srcdir/uptexdir/tests
14
15 rc=0
16
17 TEXMFCNF=$srcdir/../kpathsea
18 BSTINPUTS=$testdir
19 BIBINPUTS=$testdir
20 export TEXMFCNF BSTINPUTS BIBINPUTS
21
22 cp $testdir/unibib.aux uptests/xunibib.aux
23
24 $_upbibtex uptests/xunibib || rc=1
25 diff $testdir/unibib.bbl uptests/xunibib.bbl || rc=2
26
27 exit $rc
28