Mercurial > hg > nginx-tests
comparison mail_smtp.t @ 540:481d705b8610
Tests: SSL support in mail backends.
Socket is now embedded into every mail module.
Socket methods are wrapped where appropriate.
The new "SSL" extra flag specifies to accept connection over SSL.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 03 Apr 2015 00:11:38 +0300 |
parents | 847ea345becb |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
539:3fcad5e66735 | 540:481d705b8610 |
---|---|
212 # Make sure command split into many packets processed correctly | 212 # Make sure command split into many packets processed correctly |
213 | 213 |
214 $s = Test::Nginx::SMTP->new(); | 214 $s = Test::Nginx::SMTP->new(); |
215 $s->read(); | 215 $s->read(); |
216 | 216 |
217 log_out('HEL'); | |
218 $s->print('HEL'); | 217 $s->print('HEL'); |
219 $s->send('O example.com'); | 218 $s->send('O example.com'); |
220 $s->ok('split command'); | 219 $s->ok('split command'); |
221 | 220 |
222 ############################################################################### | 221 ############################################################################### |