diff options
Diffstat (limited to 'chapter06/bash.xml')
-rw-r--r-- | chapter06/bash.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml index 953c4ad72..ae42cf4cb 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -73,21 +73,21 @@ <para>Skip down to <quote>Install the package</quote> if not running the test suite.</para> - <para>To prepare the tests, ensure that the <systemitem class="username">nobody</systemitem> user can write to the sources tree:</para> + <para>To prepare the tests, ensure that the <systemitem class="username">tester</systemitem> user can write to the sources tree:</para> -<screen><userinput remap="test">chown -Rv nobody .</userinput></screen> +<screen><userinput remap="test">chown -Rv tester .</userinput></screen> <para>Now, run the tests as the <systemitem - class="username">nobody</systemitem> user:</para> + class="username">tester</systemitem> user:</para> -<screen><userinput remap="test">su nobody -s /bin/bash << EOF -PATH=$PATH HOME=/home make tests -EOF</userinput></screen> +<screen><userinput remap="test">su tester -c "PATH=$PATH make tests"</userinput></screen> - <para>The <command>su</command> command above is slightly different from - other places in the book. The - reason is that the <option>-c</option> option runs the command without - a controlling terminal, while the bash test suite needs one.</para> + <para>The <systemitem class="username">tester</systemitem> + user does not have enough permissions for all the tests to pass. This shows + up in some <quote>diff</quote> output in four test results. Portions of the + run-execscript, run-lastpipe, run-read, and run-test programs + are known to fail in the LFS chroot environment, but pass if the tests + are run in a full system.</para> <para>Install the package and move the main executable to <filename class='directory'>/bin</filename>:</para> |