summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/tests/bibtex8.test
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-08-12 03:03:37 +0000
committerNorbert Preining <norbert@preining.info>2023-08-12 03:03:37 +0000
commit1671b301fbe6cef52ccfa6085824e9677703e023 (patch)
tree351f5c112c4ca58d43310883a432d05d9c60670b /biblio/bibtex/bibtex-x/tests/bibtex8.test
parent3bfa493a1fafa36f78e84022bfe6511b23f51781 (diff)
CTAN sync 202308120303
Diffstat (limited to 'biblio/bibtex/bibtex-x/tests/bibtex8.test')
-rwxr-xr-xbiblio/bibtex/bibtex-x/tests/bibtex8.test16
1 files changed, 10 insertions, 6 deletions
diff --git a/biblio/bibtex/bibtex-x/tests/bibtex8.test b/biblio/bibtex/bibtex-x/tests/bibtex8.test
index 432ebe780c..bcbaf0bc62 100755
--- a/biblio/bibtex/bibtex-x/tests/bibtex8.test
+++ b/biblio/bibtex/bibtex-x/tests/bibtex8.test
@@ -1,10 +1,14 @@
#! /bin/sh -vx
-# $Id: bibtex8.test 67639 2023-07-15 13:46:41Z takuji $
+# $Id: bibtex8.test 67881 2023-08-11 11:46:28Z takuji $
# Copyright 2017-2023 Karl Berry <tex-live@tug.org>
# Copyright 2010 Peter Breitenlohner <tex-live@tug.org>
# Copyright 2023 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
# You may freely use, modify and/or distribute this file.
+BinDir=${BinDir:-.}
+ExeExt=${ExeExt:-}
+_bibtex8=$BinDir/bibtex8$ExeExt
+
test -d tests || mkdir -p tests
rc=0
@@ -17,31 +21,31 @@ cp $srcdir/../web2c/tests/exampl.aux tests/xexampl.aux || rc=1
TEXMFCNF=$srcdir/../kpathsea \
BSTINPUTS=$srcdir/../web2c/tests \
BIBINPUTS=$srcdir/../web2c/tests \
- ./bibtex8 -7 -s -d all tests/xexampl || test $? = 1 || rc=2
+ $_bibtex8 -7 -s -d all tests/xexampl || test $? = 1 || rc=2
diff $srcdir/tests/exampl.bbl tests/xexampl.bbl || rc=3
LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE
TEXMFCNF=$srcdir/../kpathsea
-BSTINPUTS=$srcdir/../web2c/tests
+BSTINPUTS=$srcdir/{../web2c/tests,csf}
BIBINPUTS=$srcdir/../web2c/tests
export TEXMFCNF BSTINPUTS BIBINPUTS
cp $srcdir/../web2c/tests/exampl.aux tests/xex_пробный.aux || rc=4
-./bibtex8 -7 -s -d io tests/xex_пробный || test $? = 1 || rc=5
+$_bibtex8 -7 -s -d io tests/xex_пробный || test $? = 1 || rc=5
diff $srcdir/tests/exampl.bbl tests/xex_пробный.bbl || rc=6
cp $srcdir/../web2c/tests/exampl.aux tests/xex_试验.aux || rc=7
-./bibtex8 -7 -s -d io tests/xex_试验 || test $? = 1 || rc=8
+$_bibtex8 -s -d io tests/xex_试验 || test $? = 1 || rc=8
diff $srcdir/tests/exampl.bbl tests/xex_试验.bbl || rc=9
## not exist, cause fatal error
-./bibtex8 -d io tests/xex_δίκη || test $? = 1 && rc=10
+$_bibtex8 -d io tests/xex_δίκη || test $? = 1 && rc=10
exit $rc