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

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_bibtex=$BinDir/bibtex$ExeExt

test -d tests || mkdir -p tests

# in case we're invoked standalone instead of from make.
test -z "$srcdir" && srcdir=`cd \`dirname $0\`/.. && pwd` # web2c/

cp $srcdir/tests/bibtex-bigauth.aux tests/xbigauth.aux || exit 1

# Error was:
# Your field is more than 20000 characters---line 303 of file bibtex-bigauth.bib
# :          {Whelan}, J.~T. and {Whitcom
# Original report from David Williams:
#   https://tug.org/pipermail/texhax/2019-December/024121.html
# Per his message, BibTeX entry comes from "Export Citation" at:
#   https://ui.adsabs.harvard.edu/abs/2017ApJ...848L..12A/abstract

TEXMFCNF=$srcdir/../kpathsea \
  BSTINPUTS=$srcdir/../tests/texmf \
  BIBINPUTS=$srcdir/tests \
  $_bibtex tests/xbigauth || exit 1

# the final author, in case glob_str_size is insufficient.
grep MeerKAT tests/xbigauth.bbl >/dev/null || exit 1