Author: jhuntwork
Date: 2007-04-03 21:03:04 -0600 (Tue, 03 Apr 2007)
New Revision: 8013

Modified:
   trunk/BOOK/chapter06/coreutils.xml
Log:
Use an extra dummy group in coreutils chapter 6 so the coreutils chgrp tests 
will be run. Thanks to Bryan Kadzban for the catch.

Modified: trunk/BOOK/chapter06/coreutils.xml
===================================================================
--- trunk/BOOK/chapter06/coreutils.xml  2007-04-03 20:42:46 UTC (rev 8012)
+++ trunk/BOOK/chapter06/coreutils.xml  2007-04-04 03:03:04 UTC (rev 8013)
@@ -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>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to