Ignore:
Timestamp:
Nov 18, 2013, 7:05:12 AM (11 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.

File:
1 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>
Note: See TracChangeset for help on using the changeset viewer.