Changeset 777c890 for chapter06/bash.xml


Ignore:
Timestamp:
05/30/2020 07:00:00 AM (4 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
0e9d60e
Parents:
160e72c
Message:

MultiLib: Merge changes up to 11861

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11871 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r160e72c r777c890  
    7474    package</quote> if not running the test suite.</para>
    7575
    76     <para>To prepare the tests, ensure that the <systemitem class="username">nobody</systemitem> user can write to the sources tree:</para>
     76    <para>To prepare the tests, ensure that the <systemitem class="username">tester</systemitem> user can write to the sources tree:</para>
    7777
    78 <screen><userinput remap="test">chown -Rv nobody .</userinput></screen>
     78<screen><userinput remap="test">chown -Rv tester .</userinput></screen>
    7979
    8080    <para>Now, run the tests as the <systemitem
    81     class="username">nobody</systemitem> user:</para>
     81    class="username">tester</systemitem> user:</para>
    8282
    83 <screen><userinput remap="test">su nobody -s /bin/bash &lt;&lt; EOF
    84 PATH=$PATH HOME=/home make tests
    85 EOF</userinput></screen>
     83<screen><userinput remap="test">su tester -c "PATH=$PATH make tests"</userinput></screen>
    8684
    87     <para>The <command>su</command> command above is slightly different from
    88     other places in the book. The
    89     reason is that the <option>-c</option> option runs the command without
    90     a controlling terminal, while the bash test suite needs one.</para>
     85    <para>The <systemitem class="username">tester</systemitem>
     86    user does not have enough permissions for all the tests to pass. This shows
     87    up in some <quote>diff</quote> output in four test results. Portions of the
     88    run-execscript, run-lastpipe, run-read, and run-test programs
     89    are known to fail in the LFS chroot environment, but pass if the tests
     90    are run in a full system.</para>
    9191
    9292    <para>Install the package and move the main executable to
Note: See TracChangeset for help on using the changeset viewer.