aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2017-07-14 03:59:18 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2017-07-14 03:59:18 +0000
commit67ce2a201a67ec4ed0aa0b79cf7b5e8b529efa24 (patch)
treee8f5bdc62cc370e98a35edf5f0135c1f30ac206e /chapter06
parentfc29485773fdef21e074c41133ecacdd1d3b96d1 (diff)
Update to linux-4.12.1.
Update to libpipeline-1.4.2. Update to iproute2-4.12.0. Fix the test procedure in make. Fix the test procedure in procps-ng. Update to glibc-2.25+adc7e06. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11269 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/make.xml6
-rw-r--r--chapter06/procps.xml5
2 files changed, 8 insertions, 3 deletions
diff --git a/chapter06/make.xml b/chapter06/make.xml
index 791908683..f88105c01 100644
--- a/chapter06/make.xml
+++ b/chapter06/make.xml
@@ -48,9 +48,11 @@
<screen><userinput remap="make">make</userinput></screen>
- <para>To test the results, issue:</para>
+ <para>The test suite needs to know where supporting perl files are located.
+ We use an envronment variable to accomplish this. To test the
+ results, issue:</para>
-<screen><userinput remap="test">make check</userinput></screen>
+<screen><userinput remap="test">make PERL5LIB=$PWD/tests/ check</userinput></screen>
<para>Install the package:</para>
diff --git a/chapter06/procps.xml b/chapter06/procps.xml
index 3e5331ba9..d3a7e52cc 100644
--- a/chapter06/procps.xml
+++ b/chapter06/procps.xml
@@ -74,10 +74,13 @@
<screen><userinput remap="make">make</userinput></screen>
<para>The test suite needs some custom modifications for LFS.
- Remove the test that fails when scripting does not use a tty device.
+ Remove a test that fails when scripting does not use a tty device and
+ fix two others.
To run the test suite, run the following commands:</para>
<screen><userinput remap="test">sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp
+sed -i '/set tty/d' testsuite/pkill.test/pkill.exp
+rm testsuite/pgrep.test/pgrep.exp
make check</userinput></screen>
<para>One ps test may fail, but passes if the tests are rerun at