Ver código fonte

Improve the explanation of the Expect/PTY test in Binutils' instructions. Fixes #2365.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8838 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 16 anos atrás
pai
commit
4d86da9286
2 arquivos alterados com 14 adições e 7 exclusões
  1. 6 0
      chapter01/changelog.xml
  2. 8 7
      chapter06/binutils.xml

+ 6 - 0
chapter01/changelog.xml

@@ -40,6 +40,12 @@
     <listitem>
       <para>2009-03-12</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Reword the explanation of the Expect tests in Binutils'
+          instructions to clarify what the expected test output is.  Thanks to Chris
+          Staub for the report and patch. Fixes
+          <ulink url="&lfs-ticket-root;2365">#2365</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Reorder the contents of chapter 7 to flow better. Thanks to
           Chris Staub for the report and suggested order.  Fixes

+ 8 - 7
chapter06/binutils.xml

@@ -42,20 +42,21 @@
     <title>Installation of Binutils</title>
 
     <para>Verify that the PTYs are working properly inside the chroot
-    environment. Check that everything is set up correctly by performing a
-    simple test:</para>
+    environment by performing a simple test:</para>
 
 <screen><userinput remap="test">expect -c "spawn ls"</userinput></screen>
 
-    <para>If the following message shows up, the chroot environment is not
-    set up for proper PTY operation:</para>
+    <para>This command should output the following:</para>
+
+<screen><computeroutput>spawn ls</computeroutput></screen>
+
+    <para>If, instead, the output includes the message below, then the environment
+    is not set up for proper PTY operation.  This issue needs to be resolved before
+    running the test suites for Binutils and GCC:</para>
 
 <screen><computeroutput>The system has no more ptys.
 Ask your system administrator to create more.</computeroutput></screen>
 
-    <para>This issue needs to be resolved before running the test suites
-    for Binutils and GCC.</para>
-
     <para>Suppress the installation of an outdated
     <filename>standards.info</filename> file as a newer one is installed later
     on in the Autoconf instructions:</para>