Changeset 7870

Show
Ignore:
Timestamp:
11/25/06 12:10:27 (1 year ago)
Author:
jhuntwork
Message:

Fix potential corruption of the testsuite tools
by forcing expect to always use /bin/stty and not /usr/local/bin/stty.
Fixes #1892.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/chapter01/changelog.xml

    r7869 r7870  
    4040      <para>2006-11-25</para> 
    4141      <itemizedlist> 
     42        <listitem> 
     43          <para>[jhuntwork] - Fix potential corruption of the testsuite tools 
     44          by forcing expect to always use /bin/stty and not /usr/local/bin/stty. 
     45          Fixes <ulink url="&lfs-ticket-root;1892">#1892</ulink></para> 
     46        </listitem> 
    4247        <listitem> 
    4348          <para>[matthew] - Upgrade to Man-pages-1.42. Fixes 
  • trunk/BOOK/chapter05/expect.xml

    r7612 r7870  
    4040 
    4141<screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen> 
     42 
     43    <para>Next, force Expect's configure script to use <filename>/bin/stty</filename> 
     44    instead of a <filename>/usr/local/bin/stty</filename> it may find on the host system. 
     45    This will ensure that our testsuite tools remain sane for the final builds of our 
     46    toolchain.</para> 
     47 
     48<screen><userinput>cp configure{,.bak} 
     49sed 's:/usr/local/bin:/bin:' configure.bak &gt; configure</userinput></screen> 
    4250 
    4351    <para>Now prepare Expect for compilation:</para>