mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:03:31 +03:00
tests: log sshserver.pl messages to a file
The logmsg messages were thrown away before, so they are now available for debugging.
This commit is contained in:
parent
25aba1683a
commit
dee50c9c51
4 changed files with 85 additions and 88 deletions
|
|
@ -63,7 +63,6 @@ BEGIN {
|
|||
find_sftp
|
||||
find_sshkeygen
|
||||
find_httptlssrv
|
||||
logmsg
|
||||
sshversioninfo
|
||||
);
|
||||
}
|
||||
|
|
@ -175,17 +174,6 @@ sub dump_array {
|
|||
}
|
||||
|
||||
|
||||
#***************************************************************************
|
||||
# Display a message
|
||||
#
|
||||
sub logmsg {
|
||||
my ($line) = @_;
|
||||
chomp $line if($line);
|
||||
$line .= "\n";
|
||||
print "$line";
|
||||
}
|
||||
|
||||
|
||||
#***************************************************************************
|
||||
# Display contents of the given file
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue