- Timestamp:
- Mar 2, 2014, 7:40:40 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- dd08c1b
- Parents:
- 60218d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/coreutils.xml
r60218d4 r3d99dc7 67 67 <systemitem class="username">root</systemitem>:</para> 68 68 69 <screen os="i"><userinput remap="test">make NON_ROOT_USERNAME= dummy check-root</userinput></screen>69 <screen os="i"><userinput remap="test">make NON_ROOT_USERNAME=nobody check-root</userinput></screen> 70 70 71 71 <para os="j">The testsuite will now be run as the 72 <systemitem class="username"> dummy</systemitem> user. Fix the permissions72 <systemitem class="username">nobody</systemitem> user. Fix the permissions 73 73 for a few files to allow this:</para> 74 74 75 <screen os="k"><userinput remap="test">chown -Rv dummy .</userinput></screen>75 <screen os="k"><userinput remap="test">chown -Rv nobody .</userinput></screen> 76 76 77 77 <para os="l">Then run the remainder of the tests as the 78 <systemitem class="username"> dummy</systemitem> user:</para>79 80 <screen os="m"><userinput remap="test">su dummy -s /bin/bash \78 <systemitem class="username">nobody</systemitem> user:</para> 79 80 <screen os="m"><userinput remap="test">su nobody -s /bin/bash \ 81 81 -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen> 82 83 <para os="n">When testing is complete, remove the84 <systemitem class="username">dummy</systemitem> user and groups:</para>85 86 <screen os="o"><userinput remap="test">sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>87 82 88 83 <para os="p">Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.