Mercurial > hg > nginx-tests
comparison mail_pop3.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | 57673c7257a3 |
children | 74986ebee2fd |
comparison
equal
deleted
inserted
replaced
1250:b708848eb49a | 1251:766bcbb632ee |
---|---|
90 } | 90 } |
91 | 91 |
92 EOF | 92 EOF |
93 | 93 |
94 $t->run_daemon(\&Test::Nginx::POP3::pop3_test_daemon); | 94 $t->run_daemon(\&Test::Nginx::POP3::pop3_test_daemon); |
95 $t->try_run('no auth external')->plan(20); | 95 $t->run()->plan(20); |
96 | 96 |
97 $t->waitforsocket('127.0.0.1:' . port(8111)); | 97 $t->waitforsocket('127.0.0.1:' . port(8111)); |
98 | 98 |
99 ############################################################################### | 99 ############################################################################### |
100 | 100 |
126 $s->read(); | 126 $s->read(); |
127 | 127 |
128 $s->send('AUTH'); | 128 $s->send('AUTH'); |
129 $s->ok('auth'); | 129 $s->ok('auth'); |
130 | 130 |
131 TODO: { | |
132 local $TODO = 'not yet' unless $t->has_version('1.11.11'); | |
133 | |
134 is(get_auth_caps($s), 'PLAIN:LOGIN:CRAM-MD5:EXTERNAL', 'auth capabilities'); | 131 is(get_auth_caps($s), 'PLAIN:LOGIN:CRAM-MD5:EXTERNAL', 'auth capabilities'); |
135 | |
136 } | |
137 | 132 |
138 # auth plain | 133 # auth plain |
139 | 134 |
140 $s = Test::Nginx::POP3->new(); | 135 $s = Test::Nginx::POP3->new(); |
141 $s->read(); | 136 $s->read(); |