summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/tests/bibtexu-yannis.test
blob: fbe03ec04507ee3ebc98dfdb99533245062447a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh -vx
# $Id: bibtexu-yannis.test 67881 2023-08-11 11:46:28Z takuji $
# Copyright 2019-2021 Karl Berry <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
# Some actual sorting needed.

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_bibtexu=$BinDir/bibtexu$ExeExt

test -d tests || mkdir -p tests

testname=yannis

cp $srcdir/tests/$testname.aux tests/x$testname.aux || exit 1

TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
BSTINPUTS=$srcdir/../web2c/tests; export BSTINPUTS
BIBINPUTS=$srcdir/tests; export BIBINPUTS

if $_bibtexu -t -d all -l fr -o fr tests/x$testname; then :; else
  echo "*** bibtexu failed, tests/x$testname.blg is:" >&2
  cat tests/x$testname.blg >&2
  exit 1
fi

diff $srcdir/tests/$testname.bbl tests/x$testname.bbl || exit 1

exit 0