diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-02-07 00:18:23 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-02-07 00:18:23 +0000 |
commit | 7704621f4cd1d6d8728c1d7a8c3fd2cef1bec1ab (patch) | |
tree | ff845f88b5f9c49f31173bebd2a8c67d7f2cd288 /tests | |
parent | 542507f316d8ee4aeb3978ddcb48215c56d80d2f (diff) |
imap: Changed response tag generation to be completely unique
Updated the automatic response tag generation to follow the examples
given in RC3501, which list a 4 character string such as A001, A002,
etc.
As a unique identifier should be generated for each command the string
generation is based on the connection id and the incrementing command
id.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test1321 | 10 | ||||
-rw-r--r-- | tests/data/test801 | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/data/test1321 b/tests/data/test1321 index 4a04575b1..7589534f7 100644 --- a/tests/data/test1321 +++ b/tests/data/test1321 @@ -56,11 +56,11 @@ imap://%HOSTIP:%IMAPPORT/1321 -u user:secret -p -x %HOSTIP:%PROXYPORT ^User-Agent: curl/.* </strip> <protocol> -B CAPABILITY
-C LOGIN user secret
-D SELECT 1321
-A FETCH 1 BODY[TEXT]
-B LOGOUT
+A001 CAPABILITY
+A002 LOGIN user secret
+A003 SELECT 1321
+A004 FETCH 1 BODY[TEXT]
+A005 LOGOUT
</protocol> <proxy> CONNECT %HOSTIP:%IMAPPORT HTTP/1.1
diff --git a/tests/data/test801 b/tests/data/test801 index d5f1cfeb9..67e10997f 100644 --- a/tests/data/test801 +++ b/tests/data/test801 @@ -38,11 +38,11 @@ imap://%HOSTIP:%IMAPPORT/801 -u user:secret # Verify data after the test has been "shot" <verify> <protocol> -B CAPABILITY
-C LOGIN user secret
-D SELECT 801
-A FETCH 1 BODY[TEXT]
-B LOGOUT
+A001 CAPABILITY
+A002 LOGIN user secret
+A003 SELECT 801
+A004 FETCH 1 BODY[TEXT]
+A005 LOGOUT
</protocol> </verify> </testcase> |