diff options
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r-- | chapter06/util-linux.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index b61bdfa06..f132967ed 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -81,7 +81,19 @@ mkdir -pv /var/lib/hwclock</userinput></screen> <screen><userinput remap="make">make</userinput></screen> - <para>This package does not come with a test suite.</para> + <para>If desired, run the test suite as a non-root user:</para> + + <warning><para>Running the test suite as the root user can be harmful to + your system. To run it, the kernel CONFIG_SCSI_DEBUG option for the + kernel must be available in the currently running system. For complete + coverage, other BLFS packages must be installed. If desired, this + test can be run after rebooting into the completed LFS system and running:</para> + + <screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen> + </warning> + + <screen><userinput remap="test">chown -Rv nobody . +su nobody -s /bin/bash -c "PATH=$PATH make check"</userinput></screen> <para>Install the package:</para> |