diff options
author | Yang Tse <yangsita@gmail.com> | 2012-05-30 17:39:14 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-05-30 17:39:14 +0200 |
commit | b420f60a06c3910b2f36770f20559c2c4ec1548f (patch) | |
tree | 48ada3b673d8323c4ead59fcd8662064419d6e3f /tests/data | |
parent | 7291c1f5654b1c433177207bfa7e21bb30fe5a50 (diff) |
pop3 test server: allow pop3 test server verification to succeed again
Introduce SUPPORTCAPA and SUPPORTAUTH config commands to allow further
pop3 test server expansion for tests that require CAPA or AUTH support,
although this will need some extra work to make it fully functional.
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test1319 | 1 | ||||
-rw-r--r-- | tests/data/test1407 | 1 | ||||
-rw-r--r-- | tests/data/test800 | 1 | ||||
-rw-r--r-- | tests/data/test808 | 1 | ||||
-rw-r--r-- | tests/data/test809 | 1 | ||||
-rw-r--r-- | tests/data/test810 | 1 | ||||
-rw-r--r-- | tests/data/test811 | 1 | ||||
-rw-r--r-- | tests/data/test812 | 1 | ||||
-rw-r--r-- | tests/data/test813 | 1 | ||||
-rw-r--r-- | tests/data/test815 | 3 |
10 files changed, 3 insertions, 9 deletions
diff --git a/tests/data/test1319 b/tests/data/test1319 index d02ba653b..8ca74cfdc 100644 --- a/tests/data/test1319 +++ b/tests/data/test1319 @@ -58,6 +58,7 @@ pop3://%HOSTIP:%POP3PORT/1319 -p -x %HOSTIP:%PROXYPORT -u user:secret ^User-Agent: </strip> <protocol> +AUTH
USER user
PASS secret
RETR 1319
diff --git a/tests/data/test1407 b/tests/data/test1407 index 0b40a4732..a8d911e0d 100644 --- a/tests/data/test1407 +++ b/tests/data/test1407 @@ -34,6 +34,7 @@ pop3://%HOSTIP:%POP3PORT/1407 -l -u user:secret --libcurl log/test1407.c # Verify data after the test has been "shot" <verify> <protocol> +AUTH
USER user
PASS secret
LIST 1407
diff --git a/tests/data/test800 b/tests/data/test800 index 8c4850147..eebd27a44 100644 --- a/tests/data/test800 +++ b/tests/data/test800 @@ -38,6 +38,7 @@ pop3://%HOSTIP:%POP3PORT/800 -u user:secret # Verify data after the test has been "shot" <verify> <protocol> +AUTH
USER user
PASS secret
RETR 800
diff --git a/tests/data/test808 b/tests/data/test808 index 57e1382b1..8f2526f25 100644 --- a/tests/data/test808 +++ b/tests/data/test808 @@ -10,7 +10,6 @@ LIST # Server-side <reply> <servercmd> -REPLY AUTH -ERR unsupported command
REPLY LIST +OK 808 100 </servercmd> </reply> diff --git a/tests/data/test809 b/tests/data/test809 index 7cd04c891..b16a1470e 100644 --- a/tests/data/test809 +++ b/tests/data/test809 @@ -11,7 +11,6 @@ FAILURE # Server-side <reply> <servercmd> -REPLY AUTH -ERR unsupported command
REPLY LIST -ERR no such message </servercmd> </reply> diff --git a/tests/data/test810 b/tests/data/test810 index 2e24c295b..e2f447eb1 100644 --- a/tests/data/test810 +++ b/tests/data/test810 @@ -13,7 +13,6 @@ LIST # packets <servercmd> SLOWDOWN -REPLY AUTH -ERR unsupported command
</servercmd> # When doing LIST, we get the default list output hard-coded in the test # POP3 server diff --git a/tests/data/test811 b/tests/data/test811 index 06fa57dcb..26a2906c7 100644 --- a/tests/data/test811 +++ b/tests/data/test811 @@ -10,7 +10,6 @@ LIST # Server-side <reply> <servercmd> -REPLY AUTH -ERR unsupported command
REPLY LIST +OK but no messages\r\n. </servercmd> <datacheck> diff --git a/tests/data/test812 b/tests/data/test812 index 9f1ba9296..0e0484d10 100644 --- a/tests/data/test812 +++ b/tests/data/test812 @@ -11,7 +11,6 @@ FAILURE # Server-side <reply> <servercmd> -REPLY AUTH -ERR unsupported command
REPLY RETR -ERR no such message </servercmd> </reply> diff --git a/tests/data/test813 b/tests/data/test813 index 13cfd7074..780fdf170 100644 --- a/tests/data/test813 +++ b/tests/data/test813 @@ -10,7 +10,6 @@ FAILURE # Server-side <reply> <servercmd> -REPLY AUTH -ERR unsupported command
REPLY PASS -ERR invalid login </servercmd> </reply> diff --git a/tests/data/test815 b/tests/data/test815 index 9779fe690..c4170f0ca 100644 --- a/tests/data/test815 +++ b/tests/data/test815 @@ -9,9 +9,6 @@ RETR # # Server-side <reply> -<servercmd>
-REPLY AUTH -ERR unsupported command
-</servercmd>
<data> From: me@somewhere
To: fake@nowhere
|