mirror of
https://github.com/curl/curl.git
synced 2026-04-12 12:21:42 +08:00
To make special newlines more explicit and visible. Mostly in `<protocol>` sections, some in `<data*>` and `<upload>`. Reducing the number of `tests/data/test*`: - CRLF newlines from 21535 to 11337. - files with mixed newlines from 1335 to 707. Also delete empty `<protocol>` sections. Closes #19284
52 lines
636 B
Plaintext
52 lines
636 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SMTP
|
|
multi
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
smtp
|
|
</server>
|
|
<tool>
|
|
lib%TESTNUMBER
|
|
</tool>
|
|
|
|
# based on bug report #1184
|
|
<name>
|
|
SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK
|
|
</name>
|
|
<stdin>
|
|
From: different
|
|
To: another
|
|
|
|
body
|
|
</stdin>
|
|
<command>
|
|
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol crlf="yes">
|
|
EHLO %TESTNUMBER
|
|
MAIL FROM:<%TESTNUMBER-realuser@example.com>
|
|
RCPT TO:<%TESTNUMBER-recipient@example.com>
|
|
DATA
|
|
</protocol>
|
|
<upload>
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|