Changeset b2d8061


Ignore:
Timestamp:
Nov 18, 2013, 7:05:12 AM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
5b7944d
Parents:
1e3c0346
Message:

Add commands for adding dummy groups and users and adjust test suite text, and test suite commands.

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/util-linux.xml

    r1e3c0346 rb2d8061  
    7272<screen os="e"><userinput>make</userinput></screen>
    7373
     74    <para os="dummy1">Create two <systemitem class="groupname">dummy</systemitem> groups and a <systemitem class="username">dummy</systemitem> user to be used during Util-linux and Coreutils test suites:</para>
     75
     76<screen os="dummy2"><userinput>echo "dummy1:x:1000:" &gt;&gt; /etc/group
     77echo "dummy2:x:1001:dummy" &gt;&gt; /etc/group
     78echo "dummy:x:1000:1000::/root:/bin/bash" &gt;&gt; /etc/passwd</userinput></screen>
     79
    7480    <para os="f">To test the results, issue:
    75     <userinput>useradd nobody &amp;&amp; chown -Rv nobody . &amp;&amp; su nobody -s /bin/bash -c "PATH=$PATH make -k check" ; userdel nobody</userinput></para>
     81    <userinput>chown -Rv dummy . &amp;&amp; su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></para>
    7682
    7783    <para os="g">Install the package:</para>
  • BOOK/final-system/multilib/util-linux.xml

    r1e3c0346 rb2d8061  
    4444    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4545    href="../common/util-linux.xml"
     46    xpointer="xpointer(//*[@os='dummy1'])"/>
     47
     48    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     49    href="../common/util-linux.xml"
     50    xpointer="xpointer(//*[@os='dummy2'])"/>
     51
     52    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     53    href="../common/util-linux.xml"
    4654    xpointer="xpointer(//*[@os='f'])"/>
    4755
Note: See TracChangeset for help on using the changeset viewer.