texlive[64276] Build/source/texk/web2c: ((u)p)bibtex: check options

commits+takuji at tug.org commits+takuji at tug.org
Sat Sep 3 07:43:53 CEST 2022


Revision: 64276
          http://tug.org/svn/texlive?view=revision&revision=64276
Author:   takuji
Date:     2022-09-03 07:43:53 +0200 (Sat, 03 Sep 2022)
Log Message:
-----------
((u)p)bibtex: check options before initialization of kpathsea params

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ChangeLog
    trunk/Build/source/texk/web2c/Makefile.in
    trunk/Build/source/texk/web2c/bibtex.ch
    trunk/Build/source/texk/web2c/bibtex.test
    trunk/Build/source/texk/web2c/ptexdir/ChangeLog
    trunk/Build/source/texk/web2c/ptexdir/am/ptex.am
    trunk/Build/source/texk/web2c/ptexdir/pbibtex.ch
    trunk/Build/source/texk/web2c/ptexdir/pbibtex.test
    trunk/Build/source/texk/web2c/uptexdir/ChangeLog
    trunk/Build/source/texk/web2c/uptexdir/am/uptex.am
    trunk/Build/source/texk/web2c/uptexdir/upbibtex.ch
    trunk/Build/source/texk/web2c/uptexdir/upbibtex.test

Added Paths:
-----------
    trunk/Build/source/texk/web2c/tests/enc-u.aux
    trunk/Build/source/texk/web2c/tests/enc-up.bbl
    trunk/Build/source/texk/web2c/tests/enc-uu.bbl

Modified: trunk/Build/source/texk/web2c/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ChangeLog	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/ChangeLog	2022-09-03 05:43:53 UTC (rev 64276)
@@ -1,3 +1,12 @@
+2022-09-03  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* bibtex.ch:
+	Check options before initialization of kpathsearch parameters.
+	This change prevents unwanted looking for texmf.cnf.
+	https://github.com/texjporg/tex-jp-build/issues/145
+	* bibtex.test, tests/enc-u.aux, tests/enc-u{p,u}.bbl:
+	Update tests for ((u)p)BibTeX.
+
 2022-08-22 Luigi Scarso <luigi.scarso at gmail.com>
 
 	* ac/web2c.ac: add potrace as dependency of mflua/mfluajit

Modified: trunk/Build/source/texk/web2c/Makefile.in
===================================================================
--- trunk/Build/source/texk/web2c/Makefile.in	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/Makefile.in	2022-09-03 05:43:53 UTC (rev 64276)
@@ -3279,9 +3279,10 @@
 	tests/enc-sjis.bib tests/enc-euc.bib tests/enc-utf8.bib \
 	tests/enc-utf8a.bib tests/enc-utf8b.bib tests/enc-amb0.bib \
 	tests/enc-amb1.bib tests/enc-amb2.bib tests/enc.aux \
-	tests/enc-e.aux tests/enc-s.aux tests/enc-p.bbl \
-	tests/enc-ep.bbl tests/enc-sp.bbl tests/memdata1.bst \
-	tests/memdata2.bst tests/memdata3.bst ptexdir/tests/goth10.tfm \
+	tests/enc-e.aux tests/enc-s.aux tests/enc-u.aux \
+	tests/enc-p.bbl tests/enc-ep.bbl tests/enc-sp.bbl \
+	tests/enc-up.bbl tests/memdata1.bst tests/memdata2.bst \
+	tests/memdata3.bst ptexdir/tests/goth10.tfm \
 	ptexdir/tests/sample.dvi ptexdir/tests/samplea.typ \
 	ptexdir/tests/min10.pl ptexdir/tests/min10.tfm \
 	ptexdir/tests/tmin10.pl ptexdir/tests/tmin10.tfm \
@@ -3300,16 +3301,16 @@
 	uptexdir/uptftopl.ch uptexdir/COPYRIGHT uptexdir/COPYRIGHT.jis \
 	uptexdir/ChangeLog $(uptex_tests) $(upweb_tests) \
 	tests/enc-u.bbl tests/enc-eu.bbl tests/enc-su.bbl \
-	uptexdir/tests/umin10.pl uptexdir/tests/umin10.tfm \
-	uptexdir/tests/utmin10.pl uptexdir/tests/utmin10.tfm \
-	uptexdir/tests/testnewu.pl uptexdir/tests/testnewu.tfm \
-	uptexdir/tests/uparse.pl uptexdir/tests/uparse.tfm \
-	uptexdir/tests/gkhugeok.tfm uptexdir/tests/gkhugeng.tfm \
-	uptexdir/tests/gkhugeng.err uptexdir/uptrip/uptrip.diffs \
-	uptexdir/uptrip/texmf.cnf $(euptex_web_srcs) $(euptex_ch_srcs) \
-	euptexdir/euptex.defines euptexdir/COPYRIGHT \
-	euptexdir/COPYRIGHT.jis euptexdir/ChangeLog \
-	euptexdir/EUPTEX.txt $(euptex_tests) \
+	tests/enc-uu.bbl uptexdir/tests/umin10.pl \
+	uptexdir/tests/umin10.tfm uptexdir/tests/utmin10.pl \
+	uptexdir/tests/utmin10.tfm uptexdir/tests/testnewu.pl \
+	uptexdir/tests/testnewu.tfm uptexdir/tests/uparse.pl \
+	uptexdir/tests/uparse.tfm uptexdir/tests/gkhugeok.tfm \
+	uptexdir/tests/gkhugeng.tfm uptexdir/tests/gkhugeng.err \
+	uptexdir/uptrip/uptrip.diffs uptexdir/uptrip/texmf.cnf \
+	$(euptex_web_srcs) $(euptex_ch_srcs) euptexdir/euptex.defines \
+	euptexdir/COPYRIGHT euptexdir/COPYRIGHT.jis \
+	euptexdir/ChangeLog euptexdir/EUPTEX.txt $(euptex_tests) \
 	eptexdir/eptrip/eptrip.log eptexdir/eptrip/eptrip.tex \
 	euptexdir/euptrip/euptrip.diffs euptexdir/euptrip/texmf.cnf \
 	euptexdir/pdfprimitive.test \
@@ -4469,7 +4470,8 @@
 	ptexdir/ppltotf.test ptexdir/ptftopl.test \
 	ptexdir/pbibtex-openout-test.pl \
 	ptexdir/pbibtex-longline-test.pl ptexdir/pbibtex-mem.test \
-	ptexdir/nissya.test ptexdir/sample.test ptexdir/yokotate.test \
+	ptexdir/nissya.test ptexdir/pbibtex-char.test \
+	ptexdir/sample.test ptexdir/yokotate.test \
 	ptexdir/skipjfmp.test
 eptex_CPPFLAGS = $(PTEXENC_INCLUDES) $(AM_CPPFLAGS) -I$(srcdir)/libmd5 \
 	$(ZLIB_INCLUDES) $(am__append_145)
@@ -4574,17 +4576,11 @@
 
 # upTeX Tests
 uptex_tests = uptexdir/uptriptest.test uptexdir/upver.test
-upweb_tests = \
-	uptexdir/upbibtex.test \
-	uptexdir/updvitype.test \
-	uptexdir/uppltotf.test \
-	uptexdir/uptftopl.test \
-	uptexdir/yokotate.test \
-	uptexdir/newjfm.test \
-	uptexdir/uparse.test \
-	uptexdir/gkhuge.test \
-	uptexdir/upkcat.test
-
+upweb_tests = uptexdir/upbibtex.test uptexdir/updvitype.test \
+	uptexdir/uppltotf.test uptexdir/uptftopl.test \
+	uptexdir/yokotate.test uptexdir/newjfm.test \
+	uptexdir/uparse.test uptexdir/gkhuge.test uptexdir/upkcat.test \
+	uptexdir/upbibtex-char.test
 euptex_CPPFLAGS = $(PTEXENC_INCLUDES) $(AM_CPPFLAGS) \
 	-I$(srcdir)/libmd5 $(ZLIB_INCLUDES) $(am__append_149)
 

Modified: trunk/Build/source/texk/web2c/bibtex.ch
===================================================================
--- trunk/Build/source/texk/web2c/bibtex.ch	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/bibtex.ch	2022-09-03 05:43:53 UTC (rev 64276)
@@ -118,6 +118,7 @@
 wiz_fn_space := WIZ_FN_SPACE;
 lit_stk_size := LIT_STK_SIZE;
 @#
+@<Process a possible command line@>
 setup_params;
 @#
 {Add one to the sizes because that's what bibtex uses.}
@@ -761,7 +762,6 @@
 procedure get_the_top_level_aux_file_name;
 label aux_found,@!aux_not_found;
 begin
-  @<Process a possible command line@>
   {Leave room for the \.., the extension, the junk byte at the
    beginning, and the null byte at the end.}
   name_of_file := xmalloc_array (ASCII_code, strlen (cmdline (optind)) + 5);

Modified: trunk/Build/source/texk/web2c/bibtex.test
===================================================================
--- trunk/Build/source/texk/web2c/bibtex.test	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/bibtex.test	2022-09-03 05:43:53 UTC (rev 64276)
@@ -7,6 +7,8 @@
 test -d tests || mkdir -p tests
 rm -f tests/xexampl.*
 
+./bibtex -version || exit 100
+
 cp $srcdir/tests/exampl.aux tests/xexampl.aux
 
 TEXMFCNF=$srcdir/../kpathsea \

Modified: trunk/Build/source/texk/web2c/ptexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/ChangeLog	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/ptexdir/ChangeLog	2022-09-03 05:43:53 UTC (rev 64276)
@@ -1,3 +1,12 @@
+2022-09-03  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* pbibtex.ch:
+	Check options before initialization of kpathsearch parameters.
+	This change prevents unwanted looking for texmf.cnf.
+	https://github.com/texjporg/tex-jp-build/issues/145
+	* tests/pbibtex.test, am/ptex.am:
+	Update tests for pBibTeX.
+
 2022-09-01  Hironori Kitagawa  <h_kitagawa2001 at yahoo.co.jp>
 
 	* kanji.c: Initialization of infile_enc_auto is moved to ptexenc.

Modified: trunk/Build/source/texk/web2c/ptexdir/am/ptex.am
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/am/ptex.am	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/ptexdir/am/ptex.am	2022-09-03 05:43:53 UTC (rev 64276)
@@ -181,6 +181,7 @@
 	ptexdir/ptftopl.test
 pweb_tests += ptexdir/pbibtex-openout-test.pl ptexdir/pbibtex-longline-test.pl
 pweb_tests += ptexdir/pbibtex-mem.test ptexdir/nissya.test
+pweb_tests += ptexdir/pbibtex-char.test
 pweb_tests += ptexdir/sample.test
 pweb_tests += ptexdir/yokotate.test
 pweb_tests += ptexdir/skipjfmp.test
@@ -214,8 +215,8 @@
 EXTRA_DIST += tests/testfield.bst tests/enc-asc.bib tests/enc-jis.bib tests/enc-sjis.bib \
 	tests/enc-euc.bib tests/enc-utf8.bib tests/enc-utf8a.bib tests/enc-utf8b.bib \
 	tests/enc-amb0.bib tests/enc-amb1.bib tests/enc-amb2.bib \
-	tests/enc.aux tests/enc-e.aux tests/enc-s.aux \
-	tests/enc-p.bbl tests/enc-ep.bbl tests/enc-sp.bbl
+	tests/enc.aux tests/enc-e.aux tests/enc-s.aux tests/enc-u.aux \
+	tests/enc-p.bbl tests/enc-ep.bbl tests/enc-sp.bbl tests/enc-up.bbl
 DISTCLEANFILES += ptests/xexampl.aux ptests/xexampl.bbl ptests/xexampl.blg \
 	ptests/xenc*.*
 ## ptexdir/pbibtex-mem.test

Modified: trunk/Build/source/texk/web2c/ptexdir/pbibtex.ch
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/pbibtex.ch	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/ptexdir/pbibtex.ch	2022-09-03 05:43:53 UTC (rev 64276)
@@ -228,7 +228,6 @@
 procedure get_the_top_level_aux_file_name;
 label aux_found,@!aux_not_found;
 begin
-  @<Process a possible command line@>
 @y
 @<Procedures and functions for the reading and processing of input files@>=
 procedure get_the_top_level_aux_file_name;
@@ -235,7 +234,6 @@
 label aux_found,@!aux_not_found;
 begin
   if (not set_enc_string (nil,'EUC')) then uexit(1);
-  @<Process a possible command line@>
 @z
 
 @x

Modified: trunk/Build/source/texk/web2c/ptexdir/pbibtex.test
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/pbibtex.test	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/ptexdir/pbibtex.test	2022-09-03 05:43:53 UTC (rev 64276)
@@ -9,6 +9,8 @@
 
 rc=0
 
+./pbibtex -version || rc=100
+
 TEXMFCNF=$srcdir/../kpathsea
 BSTINPUTS=$srcdir/tests
 BIBINPUTS=$srcdir/tests
@@ -38,5 +40,13 @@
 diff $srcdir/tests/enc-sp.bbl ptests/xenc-s.bbl || rc=8
 
 
+cp $srcdir/tests/enc-u.aux ptests/xenc-u0.aux
+
+./pbibtex -no-guess-input-enc ptests/xenc-u0 || rc=9
+diff $srcdir/tests/enc-up.bbl ptests/xenc-u0.bbl || rc=10
+./pbibtex -guess-input-enc ptests/xenc-u0 || rc=11
+diff $srcdir/tests/enc-up.bbl ptests/xenc-u0.bbl || rc=12
+
+
 exit $rc
 

Added: trunk/Build/source/texk/web2c/tests/enc-u.aux
===================================================================
--- trunk/Build/source/texk/web2c/tests/enc-u.aux	                        (rev 0)
+++ trunk/Build/source/texk/web2c/tests/enc-u.aux	2022-09-03 05:43:53 UTC (rev 64276)
@@ -0,0 +1,3 @@
+\citation{*}
+\bibstyle{testfield}
+\bibdata{enc-asc,enc-jis,enc-utf8,enc-utf8a,enc-utf8b,enc-amb0,enc-amb1}

Added: trunk/Build/source/texk/web2c/tests/enc-up.bbl
===================================================================
--- trunk/Build/source/texk/web2c/tests/enc-up.bbl	                        (rev 0)
+++ trunk/Build/source/texk/web2c/tests/enc-up.bbl	2022-09-03 05:43:53 UTC (rev 64276)
@@ -0,0 +1,38 @@
+\section*{Test result}
+\begin{itemize}
+\item ABC xyz
+\item ABC xyz
+\item ABC xyz
+\item ABC xyz
+\item ABC xyz
+\item C2Ax: ¢£¥§¨¬
+\item C2Ax: ¢£¥§¨¬
+\item C2Bx: °±¶÷
+\item CEAx: ΡΣΤΥΦΧΨΩ
+\item CEBx: αβγδεζηθικλμνξο
+\item CEBx: αβγδεζηθικλμνξο
+\item D0Ax: СТУФХЦЧШЩЪЫЬЭЮЯ
+\item D0Bx: абвгдежзийклмноп
+\item D0Bx: абвгдежзийклмноп
+\item F0A1B6B7: ^^f0^^a1^^b6^^b7
+\item F0A3B3BE: ^^f0^^a3^^b3^^be
+\item F0A5B6A1: ^^f0^^a5^^b6^^a1
+\item あいうえお
+\item あいうえお
+\item ΑΒΓ χψω
+\item ΑΒΓ χψω
+\item ξΩ ΥΦ ^^c2^^ae^^c3^^a3 ^^c5^^b7Ч Сб ^^ce^^ac^^c3^^a5 ^^c2^^ba°
+\item АБВ эюя
+\item АБВ эюя
+\item 一二三四五
+\item 一二三四五
+\item 佳人 大声 亡失 対価 幼女 帰任 信仰 伴侶 山岳 年俸 平常 延伸 鷲鷹
+\item 佳人 大声 亡失 対価 幼女 帰任 信仰 伴侶 山岳 年俸 平常 延伸 鷲鷹
+\item 係q体y
+\item 係q体y
+\item 語^^e2^^91^^a0誚^^e2^^91^^a1
+\item 語^^e2^^91^^a0誚^^e2^^91^^a1
+\item 思想 打球 明文 垂直 怜悧
+\item 思想 打球 明文 垂直 怜悧
+\end{itemize}
+\endinput

Added: trunk/Build/source/texk/web2c/tests/enc-uu.bbl
===================================================================
--- trunk/Build/source/texk/web2c/tests/enc-uu.bbl	                        (rev 0)
+++ trunk/Build/source/texk/web2c/tests/enc-uu.bbl	2022-09-03 05:43:53 UTC (rev 64276)
@@ -0,0 +1,40 @@
+\section*{Test result}
+\begin{itemize}
+\item ABC xyz
+\item ABC xyz
+\item ABC xyz
+\item ABC xyz
+\item ABC xyz
+\item C2Ax: ¢£¥§¨¬
+\item C2Ax: ¢£¥§¨¬
+\item C2Bx: °±¶÷
+\item CEAx: ΡΣΤΥΦΧΨΩ
+\item CEBx: αβγδεζηθικλμνξο
+\item CEBx: αβγδεζηθικλμνξο
+\item D0Ax: СТУФХЦЧШЩЪЫЬЭЮЯ
+\item D0Bx: абвгдежзийклмноп
+\item D0Bx: абвгдежзийклмноп
+\item F0A1B6B7: 𡶷
+\item F0A3B3BE: 𣳾
+\item F0A5B6A1: 𥶡
+\item ΑΒΓ χψω
+\item ΑΒΓ χψω
+\item ξΩ ΥΦ ®ã ŷЧ Сб άå º°
+\item АБВ эюя
+\item АБВ эюя
+\item あいうえお
+\item あいうえお
+\item 一二三四五
+\item 一二三四五
+\item
+  佳人 大声 亡失 対価 幼女 帰任 信仰 伴侶 山岳 年俸 平常 延伸 鷲鷹
+\item
+  佳人 大声 亡失 対価 幼女 帰任 信仰 伴侶 山岳 年俸 平常 延伸 鷲鷹
+\item 係q体y
+\item 係q体y
+\item 思想 打球 明文 垂直 怜悧
+\item 思想 打球 明文 垂直 怜悧
+\item 語①誚②
+\item 語①誚②
+\end{itemize}
+\endinput

Modified: trunk/Build/source/texk/web2c/uptexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/ChangeLog	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/uptexdir/ChangeLog	2022-09-03 05:43:53 UTC (rev 64276)
@@ -1,3 +1,12 @@
+2022-09-03  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* upbibtex.ch:
+	Check options before initialization of kpathsearch parameters.
+	This change prevents unwanted looking for texmf.cnf.
+	https://github.com/texjporg/tex-jp-build/issues/145
+	* tests/upbibtex.test, am/uptex.am:
+	Update tests for upBibTeX.
+
 2022-09-01  Hironori Kitagawa  <h_kitagawa2001 at yahoo.co.jp>
 
 	* kanji.c: Initialization of infile_enc_auto is moved to ptexenc.

Modified: trunk/Build/source/texk/web2c/uptexdir/am/uptex.am
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/am/uptex.am	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/uptexdir/am/uptex.am	2022-09-03 05:43:53 UTC (rev 64276)
@@ -174,6 +174,7 @@
 	uptexdir/uparse.test \
 	uptexdir/gkhuge.test \
 	uptexdir/upkcat.test
+upweb_tests += uptexdir/upbibtex-char.test
 uptexdir/upbibtex.log: upbibtex$(EXEEXT)
 uptexdir/updvitype.log: updvitype$(EXEEXT)
 uptexdir/uppltotf.log: uppltotf$(EXEEXT)
@@ -199,7 +200,7 @@
 ## Test data and results
 ##
 ## uptexdir/upbibtex.test
-EXTRA_DIST += tests/enc-u.bbl tests/enc-eu.bbl tests/enc-su.bbl
+EXTRA_DIST += tests/enc-u.bbl tests/enc-eu.bbl tests/enc-su.bbl tests/enc-uu.bbl
 DISTCLEANFILES += uptests/xexampl.aux uptests/xexampl.bbl uptests/xexampl.blg \
 	uptests/xenc*.*
 ## uptexdir/updvitype.test

Modified: trunk/Build/source/texk/web2c/uptexdir/upbibtex.ch
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/upbibtex.ch	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/uptexdir/upbibtex.ch	2022-09-03 05:43:53 UTC (rev 64276)
@@ -198,14 +198,12 @@
 
 @x procedure get_the_top_level_aux_file_name
 label aux_found,@!aux_not_found;
+begin
+  if (not set_enc_string (nil,'EUC')) then uexit(1);
 @y
 label aux_found,@!aux_not_found;
 var i:0..last_text_char;    {this is the first one declared}
- at z
- at x
-  @<Process a possible command line@>
- at y
-  @<Process a possible command line@>
+begin
   @<Initialize variables depending on Kanji code@>
 @z
 

Modified: trunk/Build/source/texk/web2c/uptexdir/upbibtex.test
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/upbibtex.test	2022-09-02 23:49:10 UTC (rev 64275)
+++ trunk/Build/source/texk/web2c/uptexdir/upbibtex.test	2022-09-03 05:43:53 UTC (rev 64276)
@@ -9,6 +9,8 @@
 
 rc=0
 
+./upbibtex -version || rc=100
+
 TEXMFCNF=$srcdir/../kpathsea
 BSTINPUTS=$srcdir/tests
 BIBINPUTS=$srcdir/tests
@@ -38,5 +40,40 @@
 diff $srcdir/tests/enc-su.bbl uptests/xenc-s.bbl || rc=8
 
 
+cp $srcdir/tests/enc-u.aux uptests/xenc-u0.aux
+
+./upbibtex -no-guess-input-enc uptests/xenc-u0 || rc=9
+diff $srcdir/tests/enc-uu.bbl uptests/xenc-u0.bbl || rc=10
+./upbibtex -guess-input-enc uptests/xenc-u0 || rc=11
+diff $srcdir/tests/enc-uu.bbl uptests/xenc-u0.bbl || rc=12
+
+
+## -kanji-internal=euc, compatible with pbibtex
+cp $srcdir/tests/enc.aux uptests/xenc-u-e.aux
+
+guess_input_kanji_encoding=1 ./upbibtex -kanji-internal=euc uptests/xenc-u-e || rc=53
+diff $srcdir/tests/enc-p.bbl uptests/xenc-u-e.bbl || rc=54
+
+
+cp $srcdir/tests/enc-e.aux uptests/xenc-e-e.aux
+
+guess_input_kanji_encoding=1 ./upbibtex -kanji=euc -kanji-internal=euc uptests/xenc-e-e || rc=55
+diff $srcdir/tests/enc-ep.bbl uptests/xenc-e-e.bbl || rc=56
+
+
+cp $srcdir/tests/enc-s.aux uptests/xenc-s-e.aux
+
+./upbibtex -guess-input-enc -kanji=sjis -kanji-internal=euc uptests/xenc-s-e || rc=57
+diff $srcdir/tests/enc-sp.bbl uptests/xenc-s-e.bbl || rc=58
+
+
+cp $srcdir/tests/enc-u.aux uptests/xenc-u0-e.aux
+
+./upbibtex -no-guess-input-enc -kanji-internal=euc uptests/xenc-u0-e || rc=59
+diff $srcdir/tests/enc-up.bbl uptests/xenc-u0-e.bbl || rc=60
+./upbibtex -guess-input-enc -kanji-internal=euc uptests/xenc-u0-e || rc=61
+diff $srcdir/tests/enc-up.bbl uptests/xenc-u0-e.bbl || rc=62
+
+
 exit $rc
 



More information about the tex-live-commits mailing list.