Changeset 7c9e252 for server/major


Ignore:
Timestamp:
02/20/2008 07:21:35 AM (16 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
b160786
Parents:
bb9dce7
Message:

Corrected OpenSSH testsuite errors

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7186 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/major/openssh.xml

    rbb9dce7 r7c9e252  
    117117    you add 127.0.0.1 to the sshd line in <filename>/etc/hosts.allow</filename>
    118118    if you have a restrictive <filename>/etc/hosts.deny</filename> file, or the
    119     test suite will fail. To run the test suite, as the
    120     <systemitem class="username">root</systemitem> user, issue:
    121     <command>make -k tests 2&gt;&amp;1 | tee check.log</command>.  Review the
    122     <filename>check.log</filename> file for 'FATAL' tests.</para>
    123 
    124     <note><para>The test suite is currently broken, in that it will try to
    125     test against the installed <filename>sshd</filename>, which is why we
    126     pass <parameter>-k</parameter> to the <command>make</command> command
    127     above.  You should run the test suite again after completing the
    128     installation and configuration, without the <parameter>-k</parameter>
    129     flag.</para></note>
    130 
    131     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    132 
    133 <screen role="root"><userinput>make install &amp;&amp;
     119    test suite will fail. Additionally, the testsuite requires an installed
     120    copy of <command>scp</command> to complete the mulitplexing tests.  To
     121    run the test suite, issue the following commnds as the
     122    <systemitem class="username">root</systemitem> user:</para>
     123
     124<screen role="root"><userinput>if test -f /usr/bin/scp
     125then
     126    mv /usr/bin/scp /usr/bin/scp-bak
     127fi &amp;&amp;
     128cp scp /usr/bin/scp &amp;&amp;
     129make tests 2&gt;&amp;1 | tee check.log
     130grep "FATAL" check.log</userinput></screen>
     131
     132    <para>If the above command produces no 'FATAL' errors, then proceed
     133    with the installation, again as the
     134    <systemitem class="username">root</systemitem> user:</para>
     135
     136<screen role="root"><userinput>rm /usr/bin/scp &amp;&amp;
     137if test -f /usr/bin/scp-bak
     138then
     139    rm /usr/bin/scp-bak
     140fi &amp;&amp;
     141make install &amp;&amp;
    134142install -v -m755 -d /usr/share/doc/openssh-&openssh-version; &amp;&amp;
    135143install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \
Note: See TracChangeset for help on using the changeset viewer.