diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2023-07-15 13:46:41 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2023-07-15 13:46:41 +0000 |
commit | 1d063e56ff2f4f491ff3b9a560c6e9be6f7b8e82 (patch) | |
tree | aa1da71d7eabb0d274f850436f56e521451ba0dc /Build/source/texk/bibtex-x/tests/bibtex8.test | |
parent | bbd0380586ef0d6a029ee6ba1efafe4e6be32cf2 (diff) |
bibtex-x: ver 4.01, Allow 8-bit/Unicode file names
git-svn-id: svn://tug.org/texlive/trunk@67639 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/bibtex-x/tests/bibtex8.test')
-rwxr-xr-x | Build/source/texk/bibtex-x/tests/bibtex8.test | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/Build/source/texk/bibtex-x/tests/bibtex8.test b/Build/source/texk/bibtex-x/tests/bibtex8.test index ab3d2c2ab97..1950ea94cf0 100755 --- a/Build/source/texk/bibtex-x/tests/bibtex8.test +++ b/Build/source/texk/bibtex-x/tests/bibtex8.test @@ -2,15 +2,46 @@ # $Id$ # 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. test -d tests || mkdir -p tests -rm -f tests/xexampl.* # different filenames than bibtexu.test -cp $srcdir/../web2c/tests/exampl.aux tests/xexampl.aux || exit 1 +rc=0 + +rm -f tests/xex*.* # different filenames than bibtexu.test + + +cp $srcdir/../web2c/tests/exampl.aux tests/xexampl.aux || rc=1 TEXMFCNF=$srcdir/../kpathsea \ BSTINPUTS=$srcdir/../web2c/tests \ BIBINPUTS=$srcdir/../web2c/tests \ - ./bibtex8 -7 tests/xexampl || test $? = 1 || exit 1 -diff $srcdir/tests/exampl.bbl tests/xexampl.bbl || exit 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 +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 +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 +diff $srcdir/tests/exampl.bbl tests/xex_试验.bbl || rc=9 + + +## not exist, cause fatal error +./bibtex8 -d io tests/xex_δίκη || test $? = 1 && rc=10 + + +exit $rc |