[lfs] branch trunk updated: bash: Set LC_ALL=C.UTF-8 for tests and update known failures
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <175553774470.15452.2365004748864072318@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new b4029894c bash: Set LC_ALL=C.UTF-8 for tests and update known failures
b4029894c is described below
commit b4029894c34e2721a2de98757677af3946c08116
Author: Xi Ruoyao <[email protected]>
AuthorDate: Tue Aug 19 01:14:25 2025 +0800
bash: Set LC_ALL=C.UTF-8 for tests and update known failures
LC_ALL=C.UTF-8 removes a spurious test failure at run-builtins line 365.
And for some tests failing due to missing locale it turns unreadable
characters into some incorrect but readable characters.
Also update known failures: the known ulimit -c failure has a different
line number; the removal of ja_JP.SJIS and the newly introduced
zh_TW.BIG5 tests also introduce several new failures.
---
chapter08/bash.xml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/chapter08/bash.xml b/chapter08/bash.xml
index f07a692e7..26141f861 100644
--- a/chapter08/bash.xml
+++ b/chapter08/bash.xml
@@ -79,7 +79,7 @@
<application>Expect</application> and run the tests as the <systemitem
class="username">tester</systemitem> user:</para>
-<screen><userinput remap="test">su -s /usr/bin/expect tester << "EOF"
+<screen><userinput remap="test">LC_ALL=C.UTF-8 su -s /usr/bin/expect tester << "EOF"
set timeout -1
spawn make tests
expect eof
@@ -96,9 +96,11 @@ EOF</userinput></screen>
<!-- Some host distros set core file size hard limit < 1000, then the
test "ulimit -c -S 1000" attempts to set soft limit > hard limit
and fail. -->
- One test named <filename>run-builtins</filename> is known to fail on
- some host distros with a difference on the first line of the
- output.</para>
+ The test named <filename>run-builtins</filename> is known to fail on
+ some host distros with a difference on the 479 and 480 lines of the
+ output. Some other tests need the <literal>zh_TW.BIG5</literal> and
+ <literal>ja_JP.SJIS</literal> locales, they are known to fail unless
+ those locales are installed.</para>
<para>Install the package:</para>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page