Ticket #2601: lfs-bash-4.1.patch
File lfs-bash-4.1.patch, 1.2 KB (added by , 15 years ago) |
---|
-
chapter06/bash.xml
old new 75 75 <para>Skip down to <quote>Install the 76 76 package</quote> if not running the test suite.</para> 77 77 78 <para>To prepare the tests, ensure that the locale79 setting from our environment will be used and that the <systemitem80 class="username">nobody</systemitem> user can read the standard input81 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> 82 82 83 <screen><userinput remap="test">sed -i 's/LANG/LC_ALL/' tests/intl.tests 84 sed -i 's@tests@& </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@& </dev/tty@' tests/run-test 85 84 chown -Rv nobody ./</userinput></screen> 86 85 87 86 <para>Now, run the tests as the <systemitem