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

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