Author: dnicholson
Date: 2007-08-11 11:00:48 -0600 (Sat, 11 Aug 2007)
New Revision: 8309

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/bash.xml
Log:
Change bash stdin test fix to affect only the necessary script


Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2007-08-11 16:53:05 UTC (rev 8308)
+++ trunk/BOOK/chapter01/changelog.xml  2007-08-11 17:00:48 UTC (rev 8309)
@@ -36,12 +36,12 @@
     </listitem>
 -->
 
-    <!-- replace with real entry -->
     <listitem>
       <para>2007-08-11</para>
       <itemizedlist>
         <listitem>
-          <para>[dnicholson] - Started 7.0 milestone.</para>
+          <para>[dnicholson] - Changed the Bash testsuite standard input fix
+          to only affect the necessary test script.</para>
         </listitem>
       </itemizedlist>
     </listitem>

Modified: trunk/BOOK/chapter06/bash.xml
===================================================================
--- trunk/BOOK/chapter06/bash.xml       2007-08-11 16:53:05 UTC (rev 8308)
+++ trunk/BOOK/chapter06/bash.xml       2007-08-11 17:00:48 UTC (rev 8309)
@@ -75,16 +75,17 @@
 
     <para>To prepare the tests, ensure that the locale
     setting from our environment will be used and that the <systemitem
-    class="username">nobody</systemitem> user can write to the sources 
tree:</para>
+    class="username">nobody</systemitem> user can read the standard input
+    device and write to the sources tree:</para>
 
 <screen><userinput>sed -i 's/LANG/LC_ALL/' tests/intl.tests
+sed -i '[EMAIL PROTECTED]@&amp; &lt;/dev/tty@' tests/run-test
 chown -Rv nobody ./</userinput></screen>
 
     <para>Now, run the tests as the <systemitem
-    class="username">nobody</systemitem> user, ensuring that the standard
-    input device is readable:</para>
+    class="username">nobody</systemitem> user:</para>
 
-<screen><userinput>su-tools nobody -s /bin/bash -c "make tests" 
&lt;/dev/tty</userinput></screen>
+<screen><userinput>su-tools nobody -s /bin/bash -c "make 
tests"</userinput></screen>
 
     <para>Install the package:</para>
 

-- 
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