aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-01-08 00:39:31 +0000
committerYang Tse <yangsita@gmail.com>2008-01-08 00:39:31 +0000
commit2408b236ca98d98cc4b6a103d63b5ab15f6c8803 (patch)
treefcc4481f0e9aa196aee1c2e4f525f359c2445f43
parent4acd43795242f2ce11eb448ae6d490514327241e (diff)
Display ssh server log and configuration upon socks server failure
-rwxr-xr-xtests/runtests.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 6a5f4a05d..d7f59e7d3 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -71,7 +71,9 @@ use sshhelp qw(
$sshexe
$sshconfig
$sshlog
+ display_sshdconfig
display_sshconfig
+ display_sshdlog
display_sshlog
find_sshd
find_ssh
@@ -1212,6 +1214,8 @@ sub runsocksserver {
logmsg "RUN: failed to start the SOCKS server\n";
display_sshlog();
display_sshconfig();
+ display_sshdlog();
+ display_sshdconfig();
stopserver("$pid2");
$doesntrun{$pidfile} = 1;
return (0,0);