aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils.xml
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-04-04 03:03:04 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-04-04 03:03:04 +0000
commit9e85ca23f4e4297faa57808098b5d0211f58d4ef (patch)
treef81c11ab7885fcae19148c1ce51b05c446656c32 /chapter06/coreutils.xml
parentf4c628cc8009690144917de718338bb95cbff428 (diff)
Use an extra dummy group in coreutils chapter 6 so the coreutils chgrp tests will be run. Thanks to Bryan Kadzban for the catch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8013 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r--chapter06/coreutils.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 84da49220..bd5286c24 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -80,11 +80,22 @@
<screen><userinput>make NON_ROOT_USERNAME=nobody check-root</userinput></screen>
- <para>Then run the remainder of the tests as the
- <systemitem class="username">nobody</systemitem> user:</para>
+ <para>We're going to run the remainder of the tests as the
+ <systemitem class="username">nobody</systemitem> user. Certain tests,
+ however, require that the user be a member of more than one group. So that
+ these tests are not skipped we'll add a temporary group and make the
+ user <systemitem class="username">nobody</systemitem> a part of it:</para>
+
+<screen><userinput>echo "dummy:x:1000:nobody" &gt;&gt; /etc/group</userinput></screen>
+
+ <para>Now run the tests:</para>
<screen><userinput>su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
+ <para>Remove the temporary group:</para>
+
+<screen><userinput>sed -i '/dummy/d' /etc/group</userinput></screen>
+
<para>Install the package:</para>
<screen><userinput>make install</userinput></screen>