From 6a75210c6d8e2346068dd097fb1b3d4edd3cd0da Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 8 Apr 2024 15:09:51 +0800 Subject: [PATCH 1/2] python: Document test failures with recent expat I didn't see them because I misconfigured Python to use internal expat. With system expat they just fail as we've documented in BLFS. --- chapter08/python.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chapter08/python.xml b/chapter08/python.xml index 0f22ab2a9..d60378abb 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -90,6 +90,10 @@ automatically re-run failed tests. If a test failed but then passed when re-run, it should be considered as passed. + Two tests named test_xml_etree and + test_xml_etree_c are known to fail with expat-2.6.0 + or newer. + Install the package: make install From 9bfd203fadb72045dff9ba540e5bf0ab5646ec1d Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 8 Apr 2024 16:10:03 +0800 Subject: [PATCH 2/2] util-linux: Create a dummy /etc/fstab to satisfy two tests --- chapter08/util-linux.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index 4df6e04dd..648b204b5 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -93,7 +93,14 @@ make - If desired, run the test suite as a non-&root; user: + + If desired, create a dummy /etc/fstab file + to satisfy two tests and run the test suite as a non-&root; + user: Running the test suite as the root user can be harmful to @@ -106,7 +113,8 @@ bash tests/run.sh --srcdir=$PWD --builddir=$PWD -chown -R tester . +touch /etc/fstab +chown -R tester . su tester -c "make -k check"