diff options
Diffstat (limited to 'tests/data/test1406')
-rw-r--r-- | tests/data/test1406 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/data/test1406 b/tests/data/test1406 index 38f68d11e..498374779 100644 --- a/tests/data/test1406 +++ b/tests/data/test1406 @@ -28,14 +28,14 @@ smtp <setenv> SSL_CERT_FILE= </setenv> -<file name="log/test1406.eml"> +<file name="log/test%TESTNUMBER.eml"> From: different
To: another
body
</file> <command> -smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-from sender@example.com -T log/test1406.eml --libcurl log/test1406.c +smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-from sender@example.com -T log/test%TESTNUMBER.eml --libcurl log/test%TESTNUMBER.c </command> </client> @@ -43,7 +43,7 @@ smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt recipient.one@example.com --mail-rcpt # Verify data after the test has been "shot" <verify> <protocol> -EHLO 1406
+EHLO %TESTNUMBER
MAIL FROM:<sender@example.com> SIZE=38
RCPT TO:<recipient.one@example.com>
RCPT TO:<recipient.two@example.com>
@@ -57,7 +57,7 @@ To: another body
.
</upload> -<file name="log/test1406.c" mode="text"> +<file name="log/test%TESTNUMBER.c" mode="text"> /********* Sample code generated by the curl command line tool ********** * All curl_easy_setopt() options are documented at: * https://curl.se/libcurl/c/curl_easy_setopt.html @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); - curl_easy_setopt(hnd, CURLOPT_URL, "smtp://%HOSTIP:%SMTPPORT/1406"); + curl_easy_setopt(hnd, CURLOPT_URL, "smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER"); curl_easy_setopt(hnd, CURLOPT_UPLOAD, 1L); curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L); curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L); |