diff options
author | Norbert Preining <norbert@preining.info> | 2022-09-20 03:01:38 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-09-20 03:01:38 +0000 |
commit | 7907f67d07d36a7e20421a1ec3a0eceecac4aacd (patch) | |
tree | 7aae41d00037cc944480cecfa75b88048a672970 /biblio/bibtex/bibtex-x/tests/bibtexu-basic.test | |
parent | fe872ca5d5d1bb989da6b31802b8e0bfb0342e45 (diff) |
CTAN sync 202209200301
Diffstat (limited to 'biblio/bibtex/bibtex-x/tests/bibtexu-basic.test')
-rwxr-xr-x | biblio/bibtex/bibtex-x/tests/bibtexu-basic.test | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/biblio/bibtex/bibtex-x/tests/bibtexu-basic.test b/biblio/bibtex/bibtex-x/tests/bibtexu-basic.test new file mode 100755 index 0000000000..0db8e5f295 --- /dev/null +++ b/biblio/bibtex/bibtex-x/tests/bibtexu-basic.test @@ -0,0 +1,25 @@ +#! /bin/sh -vx +# $Id: bibtexu-yannis.test 51452 2019-06-25 01:28:47Z karl $ +# Public domain. Originally written by Karl Berry, 2021. + +test -d tests || mkdir -p tests + +testname=ubasic +# due to lack of libpthread: +# terminate called after throwing an instance of 'std::system_error' +# what(): Unknown error -1 +# Aborted + +cp $srcdir/tests/$testname.aux tests/x$testname.aux || exit 1 + +TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF +BSTINPUTS=$srcdir/../tests/texmf; export BSTINPUTS +BIBINPUTS=$srcdir/tests; export BIBINPUTS + +if ./bibtexu -t -d all 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 |