From d1cbe535c1fe4d610fb7188179646ded1c499196 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 16 Apr 2023 18:23:19 +0800 Subject: [PATCH 1/3] dbus: Enable tests Though many tests are disabled w/o optional dependencies, we can at least run a dozen of tests. --- chapter08/dbus.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/chapter08/dbus.xml b/chapter08/dbus.xml index 8f3c80f7a..f59dd122b 100644 --- a/chapter08/dbus.xml +++ b/chapter08/dbus.xml @@ -79,10 +79,14 @@ make - This package does come with a test suite, but it requires several + To test the results, issue: + +make check + + Many tests are disabled because they require additional packages that are not included in LFS. Instructions for running the - test suite can be found in the BLFS book at - . + comprehensive test suite can be found in + the BLFS book. Install the package: @@ -107,7 +111,7 @@ dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor, dbus-run-session, dbus-send, dbus-test-tool, dbus-update-activation-environment, and dbus-uuidgen - libdbus-1.{a,so} + libdbus-1.so /etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0, /usr/share/dbus-1, /usr/share/doc/dbus-&dbus-version;, and /var/lib/dbus From e310df86e51ac70e861e76a9d15be62f6b2a4085 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 16 Apr 2023 18:29:24 +0800 Subject: [PATCH 2/3] util-linux: Clarify the condition of hardlink failure --- chapter08/util-linux.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index ccf8b3cd0..44d55697d 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -101,7 +101,11 @@ su tester -c "make -k check" The hardlink tests will fail if the host's kernel - does not have the option CONFIG_CRYPTO_USER_API_HASH set. In addition, + does not have the option + enabled or does not have any options providing a SHA256 implementation + (for example, , or + if the CPU supports + Supplemental SSE3) enabled. In addition, two sub-tests from misc: mbsencode and one sub-test from script: replay are known to fail. From ed48f326097d347f89ebc2cea948fed82ed73c9a Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 16 Apr 2023 18:42:55 +0800 Subject: [PATCH 3/3] openssl: Clarify the condition when 30-test_afalg.t fails --- chapter08/openssl.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml index 0c3c41a7c..40a769311 100644 --- a/chapter08/openssl.xml +++ b/chapter08/openssl.xml @@ -65,10 +65,13 @@ make test - One test, 30-test_afalg.t, is known to fail on some kernel - configurations (depending on inconsistent values of - CONFIG_CRYPTO_USER_API* settings.) If it fails, it can safely be - ignored. + One test, 30-test_afalg.t, is known to fail if the host kernel + does not have enabled, + or does not have any options providing an AES with CBC implementation + (for example, the combination of + and , or + if the CPU supports AES-NI) + enabled. If it fails, it can safely be ignored. Install the package: