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:
Dan Fandrich 2023-04-08 13:18:22 -07:00
parent 25aba1683a
commit dee50c9c51
4 changed files with 85 additions and 88 deletions

View file

@ -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
#