aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/chapter06.xml3
-rw-r--r--chapter06/gcc.xml11
-rw-r--r--chapter06/grep.xml2
-rw-r--r--chapter06/vim.xml4
4 files changed, 11 insertions, 9 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 12a7617a5..cd152491d 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -30,6 +30,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpfr.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconfig.xml"/>
@@ -38,7 +39,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="acl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcap.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
+<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>-->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 645b72cfa..c1a074911 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -109,9 +109,14 @@ cd build</userinput></screen>
<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
- <para>Test the results, but do not stop at errors:</para>
+ <para>Remove one test known to cause a problem:</para>
-<screen><userinput remap="test">make -k check</userinput></screen>
+<screen><userinput remap="test">rm ../gcc/testsuite/g++.dg/pr83239.C</userinput></screen>
+
+ <para>Test the results as a non-privileged user, but do not stop at errors:</para>
+
+<screen><userinput remap="test">chown -Rv nobody .
+su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
<para>To receive a summary of the test suite results, run:</para>
@@ -126,8 +131,6 @@ cd build</userinput></screen>
<para>A few unexpected failures cannot always be avoided. The GCC developers
are usually aware of these issues, but have not resolved them yet.
- In particular, six tests in the libstdc++ test suite are known to fail
- when running as the root user as we do here.
Unless the test results are vastly different from those at the above URL,
it is safe to continue.</para>
diff --git a/chapter06/grep.xml b/chapter06/grep.xml
index 58b0db366..2d46eb7a9 100644
--- a/chapter06/grep.xml
+++ b/chapter06/grep.xml
@@ -50,7 +50,7 @@
<para>To test the results, issue:</para>
-<screen><userinput remap="test">make check</userinput></screen>
+<screen><userinput remap="test">make -k check</userinput></screen>
<para>Install the package:</para>
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 084a600f2..04f6d9bd8 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -68,7 +68,7 @@
<para>To test the results, issue:</para>
-<screen><userinput remap="test">make -j1 test &amp;&gt; vim-test.log</userinput></screen>
+<screen><userinput remap="test">LANG=en_US.UTF-8 make -j1 test &amp;&gt; vim-test.log</userinput></screen>
<para>The test suite outputs a lot of binary data to the screen. This can
cause issues with the settings of the current terminal. The problem can be
@@ -76,8 +76,6 @@
successful test will result in the words "ALL DONE" in the log file
at completion.</para>
- <para>One test, Test_terminal_composing_unicode, is known to fail.</para>
-
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>