summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/tests/bibtexu-yannis.test
blob: 34ce90ce04e254b2fde4fe2778f0777c3a4ba3a5 (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
#! /bin/sh -vx
# $Id$
# Copyright 2019 Karl Berry <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

# Test file prepared by Yannis Haralambous in 2009.

#exit 0 # temp until fixed

test -d tests || mkdir -p tests

cp $srcdir/tests/yannis.aux tests/xyannis.aux

TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
BSTINPUTS=$srcdir/../web2c/tests; export BSTINPUTS
BIBINPUTS=$srcdir/tests; export BIBINPUTS
if ./bibtexu -l fr -o fr -t -d all tests/xyannis; then :; else
  echo "bibtexu failed, tests/xyannis.blg is:" >&2
  cat tests/xyannis.blg >&2
  exit 1
fi

diff $srcdir/tests/yannis.bbl tests/xyannis.bbl || exit 1