aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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