aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r--chapter06/coreutils.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index ba496de4e..e4ddc79d6 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -41,10 +41,9 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
- <para>Fix a bug in a test case:</para>
+ <para>Fix a couple of test failures:</para>
-<screen><userinput remap="pre">sed -i -e 's/! isatty/isatty/' \
- -e '45i\ || errno == ENOENT' gnulib-tests/test-getlogin.c</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-test-patch;</userinput></screen>
<para>POSIX requires that programs from Coreutils recognize character
boundaries correctly even in multibyte locales. The following patch
@@ -88,7 +87,7 @@
<para>Now the test suite is ready to be run. First, run the tests that are
meant to be run as user <systemitem class="username">root</systemitem>:</para>
-<screen><userinput remap="test">make NON_ROOT_USERNAME=nobody check-root</userinput></screen>
+<screen><userinput remap="test">make NON_ROOT_USERNAME=nobody SUBDIRS= check-root</userinput></screen>
<para>We're going to run the remainder of the tests as the
<systemitem class="username">nobody</systemitem> user. Certain tests,
@@ -107,7 +106,7 @@
environment includes /tools/bin.</para>
<screen><userinput remap="test">su nobody -s /bin/bash \
- -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen>
+ -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
<para>Remove the temporary group:</para>