diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml
index 94c276360..68ff3b356 100644
--- a/chapter08/coreutils.xml
+++ b/chapter08/coreutils.xml
@@ -123,20 +123,18 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \
chown -R tester .
- Now run the tests:
+
+ Now run the tests (using /dev/null for the
+ standard input, or two tests may be broken if building LFS in a
+ graphical terminal or a session in SSH or GNU Screen etc. because the
+ standard input is connected to a PTY from host distro, and the device
+ node for such a PTY cannot be accessed from the LFS chroot
+ environment):
-su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"
-
-
+su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" < /dev/null
Remove the temporary group:
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index adbbcc480..1d217bfa9 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -178,9 +178,7 @@ esac
relatively slow and/or running the test suite with multiple
parallel make jobs). These tests can be identified with:
-
- grep "Timed out" -l $(find -name \*.out)
+ grep "Timed out" $(find -name \*.out)
It's possible to re-run a single test with enlarged timeout
with
diff --git a/chapter08/procps.xml b/chapter08/procps.xml
index 3f229c713..b592f75c2 100644
--- a/chapter08/procps.xml
+++ b/chapter08/procps.xml
@@ -70,22 +70,17 @@
make
make src_w_LDADD='$(LDADD) -lsystemd'
- To run the test suite, run:
+
+ To run the test suite, run:
-make -k check
+su tester -c "PATH=$PATH make check"
One test named
ps with output flag bsdtime,cputime,etime,etimes
is known to fail if the host kernel is not built with
- CONFIG_BSD_PROCESS_ACCT enabled.
-
- Two tests named
- pmap X with unreachable process and
- pmap XX with unreachable process are known to
- fail occasionally.
+ CONFIG_BSD_PROCESS_ACCT enabled.
Install the package: