aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-06 10:32:06 +0000
committerYang Tse <yangsita@gmail.com>2009-05-06 10:32:06 +0000
commit7c6e0d5981bee90456de8ab10b6f0d5a90637a61 (patch)
treeb8b5c9aba93d1661030c82b26b6c6062226b6ae7
parenta1708730c3b06e33f595c9d76896c1d82231c22b (diff)
Temporary and HP-UX autobuild specific change to debug SSH server start-up failures
-rwxr-xr-xtests/runtests.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 467b70670..c7935e4b9 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -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);