aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-28 13:01:11 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-28 13:04:15 +0000
commit0d037cfdce7d295052cf4c91eda6d7fda7a692a8 (patch)
treea89ced7d23694a0f1fec1ea791cf355381989ea3 /tests/data
parent9459ee99ae748ebc21ed71a5f76e43a60f704c37 (diff)
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
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test15206
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test1520 b/tests/data/test1520
index c8b62fd07..5f9344d94 100644
--- a/tests/data/test1520
+++ b/tests/data/test1520
@@ -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>