From 2408b236ca98d98cc4b6a103d63b5ab15f6c8803 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 8 Jan 2008 00:39:31 +0000 Subject: [PATCH] Display ssh server log and configuration upon socks server failure --- tests/runtests.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/runtests.pl b/tests/runtests.pl index 6a5f4a0..d7f59e7 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); -- 2.7.4