Ignore:
Timestamp:
03/16/2022 10:45:21 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
cfd1466
Parents:
f181345
Message:

clfs-ng: wrap coreutils root test in 'su -c'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/coreutils.xml

    rf181345 r3a673439  
    115115    meant to be run as user <systemitem class="username">root</systemitem>:</para>
    116116
    117 <screen><userinput remap="test">make NON_ROOT_USERNAME=tester check-root</userinput></screen>
    118 
    119     <!-- TODO: Only happens in clfs-ng.  Need to investigate.  -->
    120     <para>One test named <filename>chroot-credentials.sh</filename> is
    121     known to fail, but it will pass after booting the LFS system.</para>
     117    <!-- CLFS note: "su -c" to set the supplementary group IDs.
     118         For a normal LFS build, they are already set by 'login' or 'su'.
     119         But for CLFS there is no such tool available at the beginning of
     120         chapter 7.  Currently coreutils is the only package of which the
     121         test suite needs the supplementary GIDs set up.  -->
     122<screen><userinput remap="test">su -c 'make NON_ROOT_USERNAME=tester check-root'</userinput></screen>
    122123
    123124    <para>We're going to run the remainder of the tests as the
Note: See TracChangeset for help on using the changeset viewer.