mirror of
https://github.com/curl/curl.git
synced 2026-07-25 16:27:16 +03:00
test1520: Fixed initial teething problems
* Missing initialisation of upload status caused a seg fault * Missing data termination caused corrupt data to be uploaded * Data verification should be performed in <upload> element * Added missing recipient list cleanup
This commit is contained in:
parent
9459ee99ae
commit
0d037cfdce
2 changed files with 17 additions and 11 deletions
|
|
@ -44,6 +44,9 @@ EHLO 1520
|
|||
MAIL FROM:<sender@example.com>
|
||||
RCPT TO:<recipient@example.com>
|
||||
DATA
|
||||
QUIT
|
||||
</protocol>
|
||||
<upload>
|
||||
From: different
|
||||
To: another
|
||||
|
||||
|
|
@ -54,6 +57,7 @@ To: another
|
|||
..
|
||||
|
||||
body
|
||||
</protocol>
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue