comparison mail_smtp.t @ 346:c6b1430afc66

Tests: adjust TODOs for smtp fixes committed in 1.5.6.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 02 Oct 2013 15:27:48 +0400
parents e7dc8f4d0a4b
children 847ea345becb
comparison
equal deleted inserted replaced
345:8e8636a4fe61 346:c6b1430afc66
139 $s->authok('auth login with username'); 139 $s->authok('auth login with username');
140 140
141 # Try auth plain with pipelining 141 # Try auth plain with pipelining
142 142
143 TODO: { 143 TODO: {
144 local $TODO = 'pipelining not in official nginx'; 144 local $TODO = 'not yet' unless $t->has_version('1.5.6');
145 local $SIG{__WARN__} = sub {}; 145 local $SIG{__WARN__} = sub {};
146 146
147 $s = Test::Nginx::SMTP->new(); 147 $s = Test::Nginx::SMTP->new();
148 $s->read(); 148 $s->read();
149 $s->send('EHLO example.com'); 149 $s->send('EHLO example.com');
196 . 'RSET'); 196 . 'RSET');
197 197
198 $s->ok('pipelined mail from'); 198 $s->ok('pipelined mail from');
199 199
200 TODO: { 200 TODO: {
201 local $TODO = 'pipelining not in official nginx'; 201 local $TODO = 'not yet' unless $t->has_version('1.5.6');
202 local $SIG{__WARN__} = sub {}; 202 local $SIG{__WARN__} = sub {};
203 203
204 $s->ok('pipelined rcpt to'); 204 $s->ok('pipelined rcpt to');
205 $s->ok('pipelined rset'); 205 $s->ok('pipelined rset');
206 206