]> granicus.if.org Git - curl/commitdiff
runtests.pl: Fixed smtp mail from address
authorSteve Holme <steve_holme@hotmail.com>
Wed, 18 Sep 2013 17:04:26 +0000 (18:04 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 18 Sep 2013 17:04:26 +0000 (18:04 +0100)
Following changes to ftpserver.pl fixed the mail from address to be a
correctly formatted address otherwise the server response will be 501
Invalid address.

tests/runtests.pl

index 15acc07ff7dcbbb3ab6f987496a229b9b8fa536a..e840053ef84602e4dee8d0c1514cc395dabc6055 100755 (executable)
@@ -793,7 +793,7 @@ sub verifyftp {
         # SMTP is a bit different since it requires more options and it
         # has _no_ output!
         $extra .= "--mail-rcpt verifiedserver ";
-        $extra .= "--mail-from fake ";
+        $extra .= "--mail-from fake@example.com ";
         $extra .= "--upload /dev/null ";
         $extra .= "--stderr - "; # move stderr to parse the verbose stuff
     }