diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-12-27 18:12:06 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-12-27 18:15:04 +0000 |
commit | 263616202ba6ff3e4651ed9ae532399b496c952a (patch) | |
tree | a517544c02c071d924f10ef55865f495b357de0b /tests/runtests.pl | |
parent | c9dd4022f4629d33fd2094f8cfd9cf112b4eaea7 (diff) |
ftpserver.pl: Reworked SMTP verified server detection
Following the addition of informational commands to the SMTP protocol,
the test server is no longer required to return the verified server
information in responses that curl only outputs in verbose mode.
Instead, a similar detection mechanism to that used by FTP, IMAP and
POP3 can now be used.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 8c0c5f280..a5f0efad6 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -790,14 +790,6 @@ sub verifyftp { if($proto eq "ftps") { $extra .= "--insecure --ftp-ssl-control "; } - elsif($proto eq "smtp") { - # SMTP is a bit different since it requires more options and it - # has _no_ output! - $extra .= "--mail-rcpt verifiedserver "; - $extra .= "--mail-from fake\@example.com "; - $extra .= "--upload /dev/null "; - $extra .= "--stderr - "; # move stderr to parse the verbose stuff - } my $flags = "--max-time $server_response_maxtime "; $flags .= "--silent "; |