Ticket #2601: lfs-bash-4.1.patch

File lfs-bash-4.1.patch, 1.2 KB (added by Larry Gilbert, 15 years ago)
  • chapter06/bash.xml

    old new  
    7575    <para>Skip down to <quote>Install the
    7676    package</quote> if not running the test suite.</para>
    7777
    78     <para>To prepare the tests, ensure that the locale
    79     setting from our environment will be used and that the <systemitem
    80     class="username">nobody</systemitem> user can read the standard input
    81     device and write to the sources tree:</para>
     78    <para>To prepare the tests, ensure that the
     79    <!-- locale setting from our environment will be used and that the -->
     80    <systemitem class="username">nobody</systemitem> user can read the
     81    standard input device and write to the sources tree:</para>
    8282
    83 <screen><userinput remap="test">sed -i 's/LANG/LC_ALL/' tests/intl.tests
    84 sed -i 's@tests@&amp; &lt;/dev/tty@' tests/run-test
     83<screen><userinput remap="test"><!-- "sed -i 's/LANG/LC_ALL/' tests/intl.tests" not needed as of bash 4.1 -->sed -i 's@tests@&amp; &lt;/dev/tty@' tests/run-test
    8584chown -Rv nobody ./</userinput></screen>
    8685
    8786    <para>Now, run the tests as the <systemitem