texlive[65675] U

commits+karl at tug.org commits+karl at tug.org
Sun Jan 29 23:21:53 CET 2023


Revision: 65675
          http://tug.org/svn/texlive?view=revision&revision=65675
Author:   karl
Date:     2023-01-29 23:21:52 +0100 (Sun, 29 Jan 2023)
Log Message:
-----------
LC_ALL=C for locale-dependent tests

Modified Paths:
--------------
    trunk/Build/source/texk/bibtex-x/ChangeLog
    trunk/Build/source/texk/bibtex-x/tests/bibtexu-char.test
    trunk/Build/source/texk/bibtex-x/tests/bibtexu-sort.test

Property Changed:
----------------
    trunk/Build/source/texk/bibtex-x/tests/bibtexu-char.test
    trunk/Build/source/texk/bibtex-x/tests/bibtexu-sort.test

Modified: trunk/Build/source/texk/bibtex-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/bibtex-x/ChangeLog	2023-01-29 21:23:09 UTC (rev 65674)
+++ trunk/Build/source/texk/bibtex-x/ChangeLog	2023-01-29 22:21:52 UTC (rev 65675)
@@ -1,3 +1,11 @@
+2023-01-29  Karl Berry  <karl at freefriends.org>
+
+	* tests/bibtexu-sort.test,
+	* tests/bibtexu-char.test: set LC_ALL and LANGUAGE to avoid
+	locale-dependent failure. Report from Johannes Hielscher,
+	tlbuild mail 29 Jan 2023 16:28:24.
+	(Also minor shell portability changes.)
+
 2022-09-12  Karl Berry  <karl at freefriends.org>
 
 	* README: new file to mention both programs.

Modified: trunk/Build/source/texk/bibtex-x/tests/bibtexu-char.test
===================================================================
--- trunk/Build/source/texk/bibtex-x/tests/bibtexu-char.test	2023-01-29 21:23:09 UTC (rev 65674)
+++ trunk/Build/source/texk/bibtex-x/tests/bibtexu-char.test	2023-01-29 22:21:52 UTC (rev 65675)
@@ -1,17 +1,19 @@
 #! /bin/sh -vx
-#
-# Copyright 2022 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
+# $Id$
+# Copyright 2022-2023 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
 # You may freely use, modify and/or distribute this file.
 
-test -d tests || mkdir -p tests
+test -d tests || mkdir tests
+test -d tests || exit 1
 
-rc=0
+LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE
+#
+TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
+BSTINPUTS=$srcdir/tests; export BSTINPUTS
+BIBINPUTS=$srcdir/tests; export BIBINPUTS
 
-TEXMFCNF=$srcdir/../kpathsea
-BSTINPUTS=$srcdir/tests
-BIBINPUTS=$srcdir/tests
-export TEXMFCNF BSTINPUTS BIBINPUTS
 
+rc=0
 
 ## test for add.period$
 cp $srcdir/tests/periodu.aux tests/xperiodu.aux
@@ -49,6 +51,4 @@
 ./bibtexu tests/xiscjku || rc=15
 diff $srcdir/tests/iscjku.bbl tests/xiscjku.bbl || rc=16
 
-
 exit $rc
-


Property changes on: trunk/Build/source/texk/bibtex-x/tests/bibtexu-char.test
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Date Author Id Revision
\ No newline at end of property
Modified: trunk/Build/source/texk/bibtex-x/tests/bibtexu-sort.test
===================================================================
--- trunk/Build/source/texk/bibtex-x/tests/bibtexu-sort.test	2023-01-29 21:23:09 UTC (rev 65674)
+++ trunk/Build/source/texk/bibtex-x/tests/bibtexu-sort.test	2023-01-29 22:21:52 UTC (rev 65675)
@@ -1,19 +1,21 @@
 #! /bin/sh -vx
-#
-# Copyright 2022 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
+# $Id$
+# Copyright 2022-2023 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
 # You may freely use, modify and/or distribute this file.
 
-test -d tests || mkdir -p tests
+test -d tests || mkdir tests
+test -d tests || exit 1
 
-rc=0
+LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE
+#
+TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
+BSTINPUTS=$srcdir/tests; export BSTINPUTS
+BIBINPUTS=$srcdir/tests; export BIBINPUTS
 
-TEXMFCNF=$srcdir/../kpathsea
-BSTINPUTS=$srcdir/tests
-BIBINPUTS=$srcdir/tests
-export TEXMFCNF BSTINPUTS BIBINPUTS
-
 rm -f tests/xsortu-*.bbl tests/xcaseu.bbl
 
+rc=0
+
 for loc in en az da fi tr; do
 
 ## test for sorting and change.case$
@@ -29,8 +31,4 @@
 max_print_line=99 ./bibtexu tests/xcaseu || rc=3
 diff $srcdir/tests/caseu.bbl tests/xcaseu.bbl || rc=4
 
-
 exit $rc
-
-
-


Property changes on: trunk/Build/source/texk/bibtex-x/tests/bibtexu-sort.test
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Date Author Id Revision
\ No newline at end of property


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