Debian Codegraph @

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

raw
1 #! /bin/sh -vx
2 # $Id: bibtexu-yannis.test 51452 2019-06-25 01:28:47Z karl $
3 # Public domain. Originally written by Karl Berry, 2021.
4
5 BinDir=${BinDir:-.}
6 ExeExt=${ExeExt:-}
7 _bibtexu=$BinDir/bibtexu$ExeExt
8
9 test -d tests || mkdir -p tests
10
11 testname=ubasic
12 # due to lack of libpthread:
13 # terminate called after throwing an instance of 'std::system_error'
14 # what(): Unknown error -1
15 # Aborted
16
17 cp $srcdir/tests/$testname.aux tests/x$testname.aux || exit 1
18
19 TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
20 BSTINPUTS=$srcdir/../tests/texmf; export BSTINPUTS
21 BIBINPUTS=$srcdir/tests; export BIBINPUTS
22
23
24 if $_bibtexu -t -d all tests/x$testname; then :; else
25 echo "*** bibtexu failed, tests/x$testname.blg is:" >&2
26 cat tests/x$testname.blg >&2
27 exit 2
28 fi
29
30 diff $srcdir/tests/$testname.bbl tests/x$testname.bbl || exit 3
31
32 exit 0