Ignore:
Timestamp:
Dec 12, 2013, 11:19:29 AM (11 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e680587
Parents:
3693f572
Message:

Add screen tags around userinput test commands and remap userinput for test commands as remap="test".

Location:
BOOK/final-system/common
Files:
39 edited

Legend:

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

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue:
    37     <userinput>make check VERBOSE=yes</userinput>. 17 tests are skipped that use
    38     Automake and different GCC languages. For full test coverage, Autoconf can
    39     be re-tested after Automake has been installed.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check VERBOSE=yes</userinput></screen>
     39   
     40    <para os="e3">17 tests are skipped that use Automake and different GCC languages.
     41    For full test coverage, Autoconf can be re-tested after Automake has been
     42    installed.</para>
    4043
    4144    <para os="f">Install the package:</para>
  • BOOK/final-system/common/automake.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue:
    37     <userinput>make check</userinput>.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3839
    3940    <para os="f">Install the package:</para>
  • BOOK/final-system/common/bash.xml

    r3693f572 r686839b  
    5353<screen os="e"><userinput>make</userinput></screen>
    5454
    55     <para os="f">To test the results, issue:
    56     <userinput>make tests</userinput>.</para>
     55    <para os="f">To test the results, issue:</para>
     56
     57<screen os="f2"><userinput remap="test">make tests</userinput></screen>
    5758
    5859    <para os="g">Install the package:</para>
  • BOOK/final-system/common/bc.xml

    r3693f572 r686839b  
    3333<screen os="d"><userinput>make</userinput></screen>
    3434
    35     <para os="e">To test the results, issue:
    36     <userinput>echo "quit" | ./bc/bc -l Test/checklib.b</userinput></para>
     35    <para os="e">To test the results, issue:</para>
     36
     37<screen os="e2"><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>
    3738
    3839    <para os="f">Install the package:</para>
  • BOOK/final-system/common/binutils.xml

    r3693f572 r686839b  
    9898    <para os="p">Test the results:</para>
    9999
    100 <screen os="q"><userinput>make check</userinput></screen>
     100<screen os="q"><userinput remap="test">make check</userinput></screen>
    101101
    102102    <para os="r">Install the package:</para>
  • BOOK/final-system/common/bison.xml

    r3693f572 r686839b  
    3838<screen os="d"><userinput>make</userinput></screen>
    3939
    40     <para os="e">To test the results, issue:
    41     <userinput>make check</userinput>.</para>
     40    <para os="e">To test the results, issue:</para>
     41
     42<screen os="e2"><userinput remap="test">make check</userinput></screen>
    4243
    4344    <para os="f">Install the package:</para>
  • BOOK/final-system/common/cloog.xml

    r3693f572 r686839b  
    4545    <para os="f">Test the results:</para>
    4646
    47 <screen os="g"><userinput>make check</userinput></screen>
     47<screen os="g"><userinput remap="test">make check</userinput></screen>
    4848
    4949    <para os="h">Install the package:</para>
  • BOOK/final-system/common/coreutils.xml

    r3693f572 r686839b  
    6767    <systemitem class="username">root</systemitem>:</para>
    6868
    69 <screen os="i"><userinput>make NON_ROOT_USERNAME=dummy</userinput></screen>
     69<screen os="i"><userinput remap="test">make NON_ROOT_USERNAME=dummy</userinput></screen>
    7070
    7171    <para os="j">The testsuite will now be run as the
     
    7373    for a few files to allow this:</para>
    7474
    75 <screen os="k"><userinput>chown -Rv dummy .</userinput></screen>
     75<screen os="k"><userinput remap="test">chown -Rv dummy .</userinput></screen>
    7676
    7777    <para os="l">Then run the remainder of the tests as the
    7878    <systemitem class="username">dummy</systemitem> user:</para>
    7979
    80 <screen os="m"><userinput>su dummy -s /bin/bash \
     80<screen os="m"><userinput remap="test">su dummy -s /bin/bash \
    8181    -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen>
    8282
     
    8484    <systemitem class="username">dummy</systemitem> user and groups:</para>
    8585
    86 <screen os="o"><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>
     86<screen os="o"><userinput remap="test">sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>
    8787
    8888    <para os="p">Install the package:</para>
  • BOOK/final-system/common/diffutils.xml

    r3693f572 r686839b  
    3939<screen os="d"><userinput>make</userinput></screen>
    4040
    41     <para os="e">To test the results, issue: <userinput>make check</userinput>.</para>
     41    <para os="e">To test the results, issue:</para>
     42
     43<screen os="e2"><userinput remap="test">make check</userinput></screen>
    4244
    4345    <para os="f">Install the package:</para>
  • BOOK/final-system/common/e2fsprogs.xml

    r3693f572 r686839b  
    7373<screen os="g"><userinput>make</userinput></screen>
    7474
    75     <para os="h">To test the results, issue:
    76     <userinput>make check</userinput>.</para>
     75    <para os="h">To test the results, issue:</para>
     76
     77<screen os="h2"><userinput remap="test">make check</userinput></screen>
    7778
    7879    <para os="i">Install the binaries, documentation and shared libraries:</para>
  • BOOK/final-system/common/eglibc.xml

    r3693f572 r686839b  
    108108<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
    109109
    110 <screen os="n"><userinput>cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
     110<screen os="n"><userinput remap="test">cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
    111111make -k check 2&gt;&amp;1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen>
    112112
  • BOOK/final-system/common/eudev.xml

    r3693f572 r686839b  
    3939<screen os="d"><userinput>make</userinput></screen>
    4040
    41     <para os="e">To test the results, issue: <userinput>make check</userinput>.</para>
     41    <para os="e">To test the results, issue:</para>
     42
     43<screen os="e2"><userinput remap="test">make check</userinput></screen>
    4244
    4345    <para os="g">Install the package:</para>
  • BOOK/final-system/common/file.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">This package does not come with a test suite.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3739
    3840    <para os="f">Install the package:</para>
  • BOOK/final-system/common/findutils.xml

    r3693f572 r686839b  
    5151<screen os="e"><userinput>make</userinput></screen>
    5252
    53     <para os="f">To test the results, issue:
    54     <userinput>make check</userinput>.</para>
     53    <para os="f">To test the results, issue:</para>
     54
     55<screen os="f2"><userinput remap="test">make check</userinput></screen>
    5556
    5657    <para os="g">Install the package:</para>
  • BOOK/final-system/common/flex.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue:
    37     <userinput>make check</userinput>.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3839
    3940    <para os="f">Install the package:</para>
  • BOOK/final-system/common/gawk.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue:
    37     <userinput>make check</userinput>.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3839
    3940    <para os="f">Install the package:</para>
  • BOOK/final-system/common/gcc.xml

    r3693f572 r686839b  
    7979    <para os="m">Test the results, but do not stop at errors:</para>
    8080
    81 <screen os="n"><userinput>make -k check</userinput></screen>
     81<screen os="n"><userinput remap="test">make -k check</userinput></screen>
    8282
    8383    <para os="o">The <parameter>-k</parameter> flag is used to make the test suite
     
    8686    failures. To receive a summary of the test suite results, run:</para>
    8787
    88 <screen os="p"><userinput>../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
     88<screen os="p"><userinput remap="test">../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
    8989
    9090    <para os="q">For only the summaries, pipe the output through
  • BOOK/final-system/common/gettext.xml

    r3693f572 r686839b  
    3636<screen os="d"><userinput>make</userinput></screen>
    3737
    38     <para os="e">To test the results, issue: <userinput>make check</userinput>.</para>
     38    <para os="e">To test the results, issue:</para>
     39
     40<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3941
    4042    <para os="f">Install the package:</para>
  • BOOK/final-system/common/gmp.xml

    r3693f572 r686839b  
    6464    <para os="f">Test the results:</para>
    6565
    66 <screen os="g"><userinput>make check</userinput></screen>
     66<screen os="g"><userinput remap="test">make check</userinput></screen>
    6767
    6868    <para os="h">Install the package:</para>
  • BOOK/final-system/common/grep.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue:
    37     <userinput>make check</userinput>.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3839
    3940    <para os="f">Install the package:</para>
  • BOOK/final-system/common/gzip.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue: <command>make check</command>.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3739
    3840    <para os="f">Install the package:</para>
  • BOOK/final-system/common/isl.xml

    r3693f572 r686839b  
    4343    <para os="f">Test the results:</para>
    4444
    45 <screen os="g"><userinput>make check</userinput></screen>
     45<screen os="g"><userinput remap="test">make check</userinput></screen>
    4646
    4747    <para os="h">Install the package:</para>
  • BOOK/final-system/common/kmod.xml

    r3693f572 r686839b  
    5858<screen os="e"><userinput>make</userinput></screen>
    5959
    60     <para os="f">To test the results, issue: <userinput>make check</userinput></para>
     60    <para os="f">To test the results, issue:</para>
     61
     62<screen os="f2"><userinput remap="test">make check</userinput></screen>
    6163
    6264    <para os="g">Install the package:</para>
  • BOOK/final-system/common/libtool.xml

    r3693f572 r686839b  
    3535<screen os="d"><userinput>make</userinput></screen>
    3636
    37     <para os="e">To test the results, issue:
    38     <userinput>make check</userinput>.</para>
     37    <para os="e">To test the results, issue:</para>
     38
     39<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3940
    4041    <para os="f">Install the package:</para>
  • BOOK/final-system/common/m4.xml

    r3693f572 r686839b  
    3333<screen os="d"><userinput>make</userinput></screen>
    3434
    35     <para os="e">To test the results, issue:
    36     <userinput>make check</userinput>.</para>
     35    <para os="e">To test the results, issue:</para>
     36
     37<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3738
    3839    <para os="f">Install the package:</para>
  • BOOK/final-system/common/make.xml

    r3693f572 r686839b  
    3333<screen os="d"><userinput>make</userinput></screen>
    3434
    35     <para os="e">To test the results, issue:
    36     <userinput>make check</userinput>.</para>
     35    <para os="e">To test the results, issue:</para>
     36
     37<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3738
    3839    <para os="f">Install the package:</para>
  • BOOK/final-system/common/mpc.xml

    r3693f572 r686839b  
    4343    <para os="f">Test the results:</para>
    4444
    45 <screen os="g"><userinput>make check</userinput></screen>
     45<screen os="g"><userinput remap="test">make check</userinput></screen>
    4646
    4747    <para os="h">Install the package:</para>
  • BOOK/final-system/common/mpfr.xml

    r3693f572 r686839b  
    4848    <para os="f">Test the results:</para>
    4949
    50 <screen os="g"><userinput>make check</userinput></screen>
     50<screen os="g"><userinput remap="test">make check</userinput></screen>
    5151
    5252    <para os="h">Install the package:</para>
  • BOOK/final-system/common/patch.xml

    r3693f572 r686839b  
    3535<screen os="d"><userinput>make</userinput></screen>
    3636
    37     <para os="e">To test the results, issue: <userinput>make check</userinput>.</para>
     37    <para os="e">To test the results, issue:</para>
     38
     39<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3840
    3941    <para os="f">Install the package:</para>
     
    7779
    7880</sect1>
     81
  • BOOK/final-system/common/perl.xml

    r3693f572 r686839b  
    3939      loopback device as well as set a hostname for some of the tests:</para>
    4040
    41       <screen><userinput>ip link set lo up
     41  <screen os="a01"><userinput remap="test">ip link set lo up
    4242hostname clfs</userinput></screen>
    4343    </note>
    4444
    45     <para os="a01">Before starting to configure, create a basic
     45    <para os="a02">Before starting to configure, create a basic
    4646    <filename>/etc/hosts</filename> file which will be referenced by one
    4747    of Perl's configuration files as well as used by the testsuite:</para>
    4848
    49 <screen os="a02"><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
     49<screen os="a03"><userinput remap="test">echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
    5050
    5151    <para os="a">To have full control over the way Perl is set up, you can
     
    101101<screen os="e"><userinput>make</userinput></screen>
    102102
    103     <para os="h">To test the results, issue:
    104     <userinput>make test</userinput>.</para>
     103    <para os="h">To test the results, issue:</para>
     104
     105<screen os="h2"><userinput remap="test">make test</userinput></screen>
    105106
    106107    <para os="j">Install the package:</para>
  • BOOK/final-system/common/pkg-config-lite.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue:
    37     <userinput>make check</userinput>.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3839
    3940    <para os="f">Install the package:</para>
  • BOOK/final-system/common/rsyslog.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue: <userinput>make check</userinput>.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3739
    3840    <para os="f">Install the package:</para>
  • BOOK/final-system/common/sed.xml

    r3693f572 r686839b  
    3737<screen os="f"><userinput>make html</userinput></screen>
    3838
    39     <para os="g">To test the results, issue:
    40     <userinput>make check</userinput>.</para>
     39    <para os="g">To test the results, issue:</para>
     40
     41<screen os="g2"><userinput remap="test">make check</userinput></screen>
    4142
    4243    <para os="h">Install the package:</para>
  • BOOK/final-system/common/tar.xml

    r3693f572 r686839b  
    3939<screen os="d"><userinput>make</userinput></screen>
    4040
    41     <para os="e">To test the results, issue:
    42     <userinput>make check</userinput>.</para>
     41    <para os="e">To test the results, issue:</para>
     42
     43<screen os="e2"><userinput remap="test">make check</userinput></screen>
    4344
    4445    <para os="f">Install the package:</para>
  • BOOK/final-system/common/texinfo.xml

    r3693f572 r686839b  
    3434<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="e">To test the results, issue:
    37     <userinput>make check</userinput>.</para>
     36    <para os="e">To test the results, issue:</para>
     37
     38<screen os="e2"><userinput remap="test">make check</userinput></screen>
    3839
    3940    <para os="f">Install the package:</para>
  • BOOK/final-system/common/util-linux.xml

    r3693f572 r686839b  
    6565    <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>
    6666
    67 <screen os="dummy2"><userinput>echo "dummy1:x:1000:" &gt;&gt; /etc/group
     67<screen os="dummy2"><userinput remap="test">echo "dummy1:x:1000:" &gt;&gt; /etc/group
    6868echo "dummy2:x:1001:dummy" &gt;&gt; /etc/group
    6969echo "dummy:x:1000:1000::/root:/bin/bash" &gt;&gt; /etc/passwd</userinput></screen>
    7070
    71     <para os="f">To test the results, issue:
    72     <userinput>chown -Rv dummy . &amp;&amp; su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></para>
     71    <para os="f">To test the results, issue:</para>
     72
     73<screen os="f2"><userinput remap="test">chown -Rv dummy . &amp;&amp;
     74su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
    7375
    7476    <para os="g">Install the package:</para>
  • BOOK/final-system/common/vim.xml

    r3693f572 r686839b  
    7171<screen os="h"><userinput>make</userinput></screen>
    7272
    73     <para os="i">To test the results, issue: <userinput>make test</userinput>.
    74     However, this test suite outputs a lot of binary data to the
     73    <para os="i">To test the results, issue:</para>
     74
     75<screen os="i2"><userinput remap="test">make test</userinput></screen>
     76
     77    <para os="i3">However, this test suite outputs a lot of binary data to the
    7578    screen, which can cause issues with the settings of the current terminal.
    7679    This can be resolved by redirecting the output to a log file.</para>
  • BOOK/final-system/common/xz.xml

    r3693f572 r686839b  
    3636<screen os="d"><userinput>make</userinput></screen>
    3737
    38     <para os="e">To test the results, issue:
    39     <userinput>make check</userinput>.</para>
    40 
     38    <para os="e">To test the results, issue:</para>
     39
     40<screen os="e2"><userinput remap="test">make check</userinput></screen>
    4141
    4242    <para os="f">Install the programs:</para>
  • BOOK/final-system/common/zlib.xml

    r3693f572 r686839b  
    3737<screen os="d"><userinput>make</userinput></screen>
    3838
    39     <para os="e">To test the results, issue:
    40     <userinput>make check</userinput>.</para>
     39    <para os="e">To test the results, issue:</para>
     40
     41<screen os="e2" ><userinput remap="test">make check</userinput></screen>
    4142
    4243    <para os="f">Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.