Ignore:
Timestamp:
05/30/2020 06:22:47 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
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:
264dfd9
Parents:
f4bb2af
Message:

Update to trunk r11877

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/coreutils.xml

    rf4bb2af rae7f075  
    109109    meant to be run as user <systemitem class="username">root</systemitem>:</para>
    110110
    111 <screen><userinput remap="test">make NON_ROOT_USERNAME=nobody check-root</userinput></screen>
     111<screen><userinput remap="test">make NON_ROOT_USERNAME=tester check-root</userinput></screen>
    112112
    113113    <para>We're going to run the remainder of the tests as the
    114     <systemitem class="username">nobody</systemitem> user. Certain tests,
     114    <systemitem class="username">tester</systemitem> user. Certain tests,
    115115    however, require that the user be a member of more than one group. So that
    116116    these tests are not skipped we'll add a temporary group and make the
    117     user <systemitem class="username">nobody</systemitem> a part of it:</para>
    118 
    119 <screen><userinput remap="test">echo "dummy:x:1000:nobody" &gt;&gt; /etc/group</userinput></screen>
     117    user <systemitem class="username">tester</systemitem> a part of it:</para>
     118
     119<screen><userinput remap="test">echo "dummy:x:1000:tester" &gt;&gt; /etc/group</userinput></screen>
    120120
    121121    <para>Fix some of the permissions so that the non-root user can compile and
    122122    run the tests:</para>
    123123
    124 <screen><userinput remap="test">chown -Rv nobody . </userinput></screen>
     124<screen><userinput remap="test">chown -Rv tester . </userinput></screen>
    125125
    126126    <para>Now run the tests:</para>
    127127
    128 <screen><userinput remap="test">su nobody -s /bin/bash \
    129           -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
    130 
     128<screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
     129<!--
    131130    <para>The test program test-getlogin is known to fail in a
    132131    partially built system environment like the chroot environment here, but
    133132    passes if run at the end of this chapter.  The test program tty.sh is
    134133    also known to fail.</para>
     134-->
    135135
    136136    <para>Remove the temporary group:</para>
    137137
    138138<screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen>
    139 
    140139    <para>Install the package:</para>
    141140
Note: See TracChangeset for help on using the changeset viewer.