Ignore:
Timestamp:
04/08/2024 08:10:03 AM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib
Children:
650a45a, 9317498, 9dca319
Parents:
6a75210
Message:

util-linux: Create a dummy /etc/fstab to satisfy two tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/util-linux.xml

    r6a75210 r9bfd203f  
    9494<screen><userinput remap="make">make</userinput></screen>
    9595
    96     <para>If desired, run the test suite as a non-&root; user:</para>
     96    <!-- To editors:
     97         Two tests need a /etc/fstab file.  They are skipped if the host
     98         distro isn't using systemd as the init system, so don't remove
     99         the creation of /etc/fstab unless you've tested it with such a
     100         host distro (for example LFS systemd or Debian).  -->
     101    <para>If desired, create a dummy <filename>/etc/fstab</filename> file
     102    to satisfy two tests and run the test suite as a non-&root;
     103    user:</para>
    97104
    98105    <warning><para>Running the test suite as the
     
    107114    </warning>
    108115
    109 <screen><userinput remap="test">chown -R tester .
     116<screen><userinput remap="test">touch /etc/fstab
     117chown -R tester .
    110118su tester -c "make -k check"</userinput></screen>
    111119
Note: See TracChangeset for help on using the changeset viewer.