Changeset 7406bec for chapter06/bash.xml


Ignore:
Timestamp:
05/29/2020 08:06:18 AM (4 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
5f24c50
Parents:
51c960d
Message:

Add an unprivileged user, tester, at the
beginning of Chapter 6 for running some tests. This
user is then removed at the end of the chapter.

Update to zstd-1.4.5. Fixes
Update to util-linux-2.35.2. Fixes
Update to bison-3.6.2. Fixes
Update to linux-5.6.15. Fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11864 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r51c960d r7406bec  
    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>
    86 
     83<screen><userinput remap="test">su tester -c "PATH=$PATH make tests"</userinput></screen>
     84<!--
    8785    <para>The <command>su</command> command above is slightly different from
    8886    other places in the book. The
    8987    reason is that the <option>-c</option> option runs the command without
    9088    a controlling terminal, while the bash test suite needs one.</para>
    91 
    92     <para>Nevertheless, the <systemitem class="username">nobody</systemitem>
     89-->
     90    <para>The <systemitem class="username">tester</systemitem>
    9391    user does not have enough permissions for all the tests to pass. This shows
    9492    up in some <quote>diff</quote> output in four test results.</para>
Note: See TracChangeset for help on using the changeset viewer.