]> granicus.if.org Git - curl/commitdiff
Temporary and HP-UX autobuild specific change to debug SSH server start-up failures
authorYang Tse <yangsita@gmail.com>
Wed, 6 May 2009 10:32:06 +0000 (10:32 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 6 May 2009 10:32:06 +0000 (10:32 +0000)
tests/runtests.pl

index 467b706707fbd591b3f1c8fdece044a80a5aca80..c7935e4b941cce6e60e7e41fe2cf185743f63e89 100755 (executable)
@@ -1162,6 +1162,8 @@ sub runsshserver {
         return (0,0);
     }
 
+    my $dbghosttype=join(' ', runclientoutput("uname -a"));
+
     my $pid = checkserver($pidfile);
     if($pid > 0) {
         stopserver($pid);
@@ -1181,6 +1183,10 @@ sub runsshserver {
     if($sshpid <= 0 || !kill(0, $sshpid)) {
         # it is NOT alive
         logmsg "RUN: failed to start the SSH server\n";
+        if(($dbghosttype =~ /HP-UX/) && ($dbghosttype =~ /hairball/)) {
+          display_sshdlog();
+          display_sshdconfig();
+        }
         stopserver("$pid2");
         $doesntrun{$pidfile} = 1;
         return (0,0);