/[mailutils]/mailutils/pop3d/testsuite/pop3d/read.exp
ViewVC logotype

Diff of /mailutils/pop3d/testsuite/pop3d/read.exp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by gray, Wed Aug 21 15:30:07 2002 UTC revision 1.2 by gray, Fri Aug 23 07:01:03 2002 UTC
# Line 20  pop3d_start Line 20  pop3d_start
20  pop3d_auth "user!passwd" "guessme"  pop3d_auth "user!passwd" "guessme"
21    
22  ## Test STAT command  ## Test STAT command
23  pop3d_test "STAT" "+OK 95 35014"  pop3d_test "STAT" "+OK 95 34469"
24    
25  ## Test LIST command. This will be used twice.  ## Test LIST command. This will be used twice.
26  proc test_list {} {  proc test_list {} {
27          pop3d_test "LIST" \          pop3d_test "LIST" \
28          "+OK" \          "+OK" \
29          "1 317" \          "1 311" \
30          "2 327" \          "2 321" \
31          "3 322" \          "3 316" \
32          "4 351" \          "4 345" \
33          "5 368" \          "5 362" \
34          "6 384" \          "6 378" \
35          "7 331" \          "7 325" \
36          "8 374" \          "8 368" \
37          "9 360" \          "9 354" \
38          "10 329" \          "10 323" \
39          "11 364" \          "11 358" \
40          "12 313" \          "12 307" \
41          "13 354" \          "13 348" \
42          "14 385" \          "14 379" \
43          "15 427" \          "15 421" \
44          "16 403" \          "16 397" \
45          "17 460" \          "17 454" \
46          "18 346" \          "18 340" \
47          "19 326" \          "19 320" \
48          "20 313" \          "20 307" \
49          "21 363" \          "21 357" \
50          "22 327" \          "22 321" \
51          "23 403" \          "23 397" \
52          "24 338" \          "24 332" \
53          "25 421" \          "25 415" \
54          "26 364" \          "26 358" \
55          "27 396" \          "27 390" \
56          "28 340" \          "28 334" \
57          "29 336" \          "29 330" \
58          "30 343" \          "30 337" \
59          "31 381" \          "31 375" \
60          "32 335" \          "32 329" \
61          "33 339" \          "33 333" \
62          "34 331" \          "34 325" \
63          "35 308" \          "35 302" \
64          "36 423" \          "36 417" \
65          "37 389" \          "37 383" \
66          "38 338" \          "38 332" \
67          "39 373" \          "39 367" \
68          "40 375" \          "40 369" \
69          "41 668" \          "41 662" \
70          "42 347" \          "42 341" \
71          "43 394" \          "43 388" \
72          "44 396" \          "44 390" \
73          "45 339" \          "45 333" \
74          "46 554" \          "46 548" \
75          "47 340" \          "47 334" \
76          "48 430" \          "48 424" \
77          "49 365" \          "49 359" \
78          "50 443" \          "50 437" \
79          "51 334" \          "51 328" \
80          "52 389" \          "52 383" \
81          "53 382" \          "53 376" \
82          "54 395" \          "54 389" \
83          "55 342" \          "55 336" \
84          "56 342" \          "56 336" \
85          "57 358" \          "57 352" \
86          "58 444" \          "58 438" \
87          "59 343" \          "59 337" \
88          "60 389" \          "60 408" \
89          "61 399" \          "61 393" \
90          "62 341" \          "62 335" \
91          "63 337" \          "63 331" \
92          "64 392" \          "64 386" \
93          "65 489" \          "65 483" \
94          "66 330" \          "66 324" \
95          "67 329" \          "67 323" \
96          "68 368" \          "68 362" \
97          "69 331" \          "69 325" \
98          "70 354" \          "70 348" \
99          "71 317" \          "71 311" \
100          "72 347" \          "72 341" \
101          "73 375" \          "73 369" \
102          "74 333" \          "74 327" \
103          "75 346" \          "75 340" \
104          "76 351" \          "76 345" \
105          "77 330" \          "77 324" \
106          "78 330" \          "78 324" \
107          "79 375" \          "79 369" \
108          "80 381" \          "80 375" \
109          "81 395" \          "81 389" \
110          "82 327" \          "82 321" \
111          "83 316" \          "83 310" \
112          "84 368" \          "84 362" \
113          "85 371" \          "85 365" \
114          "86 419" \          "86 413" \
115          "87 333" \          "87 327" \
116          "88 338" \          "88 332" \
117          "89 407" \          "89 401" \
118          "90 322" \          "90 316" \
119          "91 316" \          "91 310" \
120          "92 506" \          "92 500" \
121          "93 347" \          "93 341" \
122          "94 327" \          "94 321" \
123          "95 396" \          "95 390" \
124          "."          "."
125  }  }
126    
# Line 130  test_list Line 130  test_list
130  ## Test RETRY on an existing message  ## Test RETRY on an existing message
131  pop3d_test "RETR 1" \  pop3d_test "RETR 1" \
132          "+OK" \          "+OK" \
133          "Received: (from hare@wonder.land)" \          "Received: (from hare@wonder.land) "\
134          "       by wonder.land id 3d3b1d91" \          "       by wonder.land id 3301"\
135          "       for alice@wonder.land; Sun, 21 Jul 2002 23:46:09 EEST" \          "       for alice@wonder.land; Mon, 29 Jul 2002 22:00:06 +0100"\
136          "Date: Sun, 21 Jul 2002 23:46:09 EEST" \          "Date: Mon, 29 Jul 2002 22:00:01 +0100"\
137          "From: March Hare  <hare@wonder.land>" \          "From: March Hare  <hare@wonder.land>"\
138          "Message-Id: <200207212346.3d3b1d91@wonder.land>" \          "Message-Id: <200207292200.3301@wonder.land>"\
139          "To: Alice  <alice@wonder.land>" \          "To: Alice  <alice@wonder.land>"\
140          "Subject: Invitation" \          "Subject: Invitation"\
141          "" \          ""\
142          "Have some wine" \          "Have some wine"\
143          "."          "."
144    
145  ## Test TOP command  ## Test TOP command
# Line 149  pop3d_test "TOP 48" \ Line 149  pop3d_test "TOP 48" \
149    
150  pop3d_test "TOP 48 2" \  pop3d_test "TOP 48 2" \
151  "+OK" \  "+OK" \
152  "Received: (from hatter@wonder.land)" \  "Received: (from hatter@wonder.land) "\
153  "       by wonder.land id 3d3b1d95" \  "       by wonder.land id 3348"\
154  "       for alice@wonder.land; Sun, 21 Jul 2002 23:46:13 EEST" \  "       for alice@wonder.land; Mon, 29 Jul 2002 22:00:53 +0100"\
155  "Date: Sun, 21 Jul 2002 23:46:13 EEST" \  "Date: Mon, 29 Jul 2002 22:00:48 +0100"\
156  "From: Hatter  <hatter@wonder.land>" \  "From: Hatter  <hatter@wonder.land>"\
157  "Message-Id: <200207212346.3d3b1d95@wonder.land>" \  "Message-Id: <200207292200.3348@wonder.land>"\
158  "To: Alice  <alice@wonder.land>" \  "To: Alice  <alice@wonder.land>"\
159  "Subject: Re: Discussing Time" \  "Subject: Re: Discussing Time"\
160  "" \  "" \
161  "It goes on, you know in this way:--" \  "It goes on, you know in this way:--" \
162  "" \  "" \
# Line 164  pop3d_test "TOP 48 2" \ Line 164  pop3d_test "TOP 48 2" \
164    
165  pop3d_test "TOP 48 3" \  pop3d_test "TOP 48 3" \
166  "+OK" \  "+OK" \
167  "Received: (from hatter@wonder.land)" \  "Received: (from hatter@wonder.land) "\
168  "       by wonder.land id 3d3b1d95" \  "       by wonder.land id 3348"\
169  "       for alice@wonder.land; Sun, 21 Jul 2002 23:46:13 EEST" \  "       for alice@wonder.land; Mon, 29 Jul 2002 22:00:53 +0100"\
170  "Date: Sun, 21 Jul 2002 23:46:13 EEST" \  "Date: Mon, 29 Jul 2002 22:00:48 +0100"\
171  "From: Hatter  <hatter@wonder.land>" \  "From: Hatter  <hatter@wonder.land>"\
172  "Message-Id: <200207212346.3d3b1d95@wonder.land>" \  "Message-Id: <200207292200.3348@wonder.land>"\
173  "To: Alice  <alice@wonder.land>" \  "To: Alice  <alice@wonder.land>"\
174  "Subject: Re: Discussing Time" \  "Subject: Re: Discussing Time"\
175  "" \  "" \
176  "It goes on, you know in this way:--" \  "It goes on, you know in this way:--" \
177  "" \  "" \
# Line 181  pop3d_test "TOP 48 3" \ Line 181  pop3d_test "TOP 48 3" \
181    
182  pop3d_test "TOP 48 4" \  pop3d_test "TOP 48 4" \
183  "+OK" \  "+OK" \
184  "Received: (from hatter@wonder.land)" \  "Received: (from hatter@wonder.land) "\
185  "       by wonder.land id 3d3b1d95" \  "       by wonder.land id 3348"\
186  "       for alice@wonder.land; Sun, 21 Jul 2002 23:46:13 EEST" \  "       for alice@wonder.land; Mon, 29 Jul 2002 22:00:53 +0100"\
187  "Date: Sun, 21 Jul 2002 23:46:13 EEST" \  "Date: Mon, 29 Jul 2002 22:00:48 +0100"\
188  "From: Hatter  <hatter@wonder.land>" \  "From: Hatter  <hatter@wonder.land>"\
189  "Message-Id: <200207212346.3d3b1d95@wonder.land>" \  "Message-Id: <200207292200.3348@wonder.land>"\
190  "To: Alice  <alice@wonder.land>" \  "To: Alice  <alice@wonder.land>"\
191  "Subject: Re: Discussing Time" \  "Subject: Re: Discussing Time"\
192  "" \  "" \
193  "It goes on, you know in this way:--" \  "It goes on, you know in this way:--" \
194  "" \  "" \
# Line 198  pop3d_test "TOP 48 4" \ Line 198  pop3d_test "TOP 48 4" \
198    
199  pop3d_test "TOP 48 1000" \  pop3d_test "TOP 48 1000" \
200  "+OK" \  "+OK" \
201  "Received: (from hatter@wonder.land)" \  "Received: (from hatter@wonder.land) "\
202  "       by wonder.land id 3d3b1d95" \  "       by wonder.land id 3348"\
203  "       for alice@wonder.land; Sun, 21 Jul 2002 23:46:13 EEST" \  "       for alice@wonder.land; Mon, 29 Jul 2002 22:00:53 +0100"\
204  "Date: Sun, 21 Jul 2002 23:46:13 EEST" \  "Date: Mon, 29 Jul 2002 22:00:48 +0100"\
205  "From: Hatter  <hatter@wonder.land>" \  "From: Hatter  <hatter@wonder.land>"\
206  "Message-Id: <200207212346.3d3b1d95@wonder.land>" \  "Message-Id: <200207292200.3348@wonder.land>"\
207  "To: Alice  <alice@wonder.land>" \  "To: Alice  <alice@wonder.land>"\
208  "Subject: Re: Discussing Time" \  "Subject: Re: Discussing Time"\
209  "" \  "" \
210  "It goes on, you know in this way:--" \  "It goes on, you know in this way:--" \
211  "" \  "" \
# Line 225  pop3d_test "RSET" "+OK" Line 225  pop3d_test "RSET" "+OK"
225    
226  pop3d_test "RETR 2" \  pop3d_test "RETR 2" \
227  "+OK" \  "+OK" \
228  "Received: (from alice@wonder.land)" \  "Received: (from alice@wonder.land) "\
229  "       by wonder.land id 3d3b1d91" \  "       by wonder.land id 3302"\
230  "       for hare@wonder.land; Sun, 21 Jul 2002 23:46:09 EEST" \  "       for hare@wonder.land; Mon, 29 Jul 2002 22:00:07 +0100"\
231  "Date: Sun, 21 Jul 2002 23:46:09 EEST" \  "Date: Mon, 29 Jul 2002 22:00:02 +0100"\
232  "From: Alice  <alice@wonder.land>" \  "From: Alice  <alice@wonder.land>"\
233  "Message-Id: <200207212346.3d3b1d91@wonder.land>" \  "Message-Id: <200207292200.3302@wonder.land>"\
234  "To: March Hare  <hare@wonder.land>" \  "To: March Hare  <hare@wonder.land>"\
235  "Subject: Re: Invitation" \  "Subject: Re: Invitation"\
236  ""\  ""\
237  "I don't see any wine"\  "I don't see any wine"\
238  "."  "."

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26