texlive[65393] Build/source/texk/web2c: (u)ptex: tests for filename,

commits+takuji at tug.org commits+takuji at tug.org
Thu Dec 29 04:11:47 CET 2022


Revision: 65393
          http://tug.org/svn/texlive?view=revision&revision=65393
Author:   takuji
Date:     2022-12-29 04:11:47 +0100 (Thu, 29 Dec 2022)
Log Message:
-----------
(u)ptex: tests for filename, set C.UTF-8 locale if not found

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ptexdir/wcfname.test
    trunk/Build/source/texk/web2c/uptexdir/wcfname.test

Modified: trunk/Build/source/texk/web2c/ptexdir/wcfname.test
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/wcfname.test	2022-12-29 01:46:40 UTC (rev 65392)
+++ trunk/Build/source/texk/web2c/ptexdir/wcfname.test	2022-12-29 03:11:47 UTC (rev 65393)
@@ -20,6 +20,11 @@
     break
   fi
 done
+if [ $ret = 1 ]; then
+  # linux musl fails to run `locale -a` but seems to have C.UTF-8
+  loc=C.UTF-8
+  LC_ALL=$loc; LANGUAGE=$loc; export LC_ALL LANGUAGE
+fi
 
 perl $srcdir/tests/fn-generate.perl || exit 128
 mv fn*.tex ptests/

Modified: trunk/Build/source/texk/web2c/uptexdir/wcfname.test
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/wcfname.test	2022-12-29 01:46:40 UTC (rev 65392)
+++ trunk/Build/source/texk/web2c/uptexdir/wcfname.test	2022-12-29 03:11:47 UTC (rev 65393)
@@ -20,6 +20,11 @@
     break
   fi
 done
+if [ $ret = 1 ]; then
+  # linux musl fails to run `locale -a` but seems to have C.UTF-8
+  loc=C.UTF-8
+  LC_ALL=$loc; LANGUAGE=$loc; export LC_ALL LANGUAGE
+fi
 
 perl $srcdir/tests/fn-generate.perl || exit 128
 mv fn*.tex uptests/



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