tests: Reworked existing SMTP tests to be single recipient based
authorSteve Holme <steve_holme@hotmail.com>
Sat, 21 Sep 2013 18:44:09 +0000 (19:44 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 21 Sep 2013 18:44:09 +0000 (19:44 +0100)
...in preparation of upcoming multiple recipient tests.

tests/data/test900
tests/data/test909
tests/data/test910
tests/data/test911

index 25b3f46..5fcf598 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@foo --mail-rcpt 900@foobar.example --mail-from 900@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@foo --mail-from 900@example.com -T -
 </command>
 </client>
 
@@ -37,7 +37,6 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@foo --mail-rcpt 900@foobar.example
 EHLO user\r
 MAIL FROM:<900@example.com>\r
 RCPT TO:<900@foo>\r
-RCPT TO:<900@foobar.example>\r
 DATA\r
 QUIT\r
 </protocol>
index 0122dfe..a8fa339 100644 (file)
@@ -30,7 +30,7 @@ To: another
 body\r
 </file>
  <command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 909@foo --mail-rcpt 909@foobar.example --mail-from 909@example.com -T log/test909.eml
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 909@foo --mail-from 909@example.com -T log/test909.eml
 </command>
 </client>
 
@@ -41,7 +41,6 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 909@foo --mail-rcpt 909@foobar.example
 EHLO user\r
 MAIL FROM:<909@example.com>\r
 RCPT TO:<909@foo>\r
-RCPT TO:<909@foobar.example>\r
 DATA\r
 QUIT\r
 </protocol>
index 5f8186f..05e99c5 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 910@foo --mail-rcpt 910@foobar.example --mail-from 910@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 910@foo --mail-from 910@example.com -T -
 </command>
 </client>
 
@@ -37,7 +37,6 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 910@foo --mail-rcpt 910@foobar.example
 EHLO user\r
 MAIL FROM:<910@example.com>\r
 RCPT TO:<910@foo>\r
-RCPT TO:<910@foobar.example>\r
 DATA\r
 QUIT\r
 </protocol>
index c8cecdc..4e0f1b9 100644 (file)
@@ -25,7 +25,7 @@ SMTP with no mail data
 </stdin>
 
  <command>
-smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 911@foo --mail-rcpt 911@foobar.example --mail-from 911@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 911@foo --mail-from 911@example.com -T -
 </command>
 </client>
 
@@ -36,7 +36,6 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 911@foo --mail-rcpt 911@foobar.example
 EHLO user\r
 MAIL FROM:<911@example.com>\r
 RCPT TO:<911@foo>\r
-RCPT TO:<911@foobar.example>\r
 DATA\r
 QUIT\r
 </protocol>