Mercurial > hg > nginx-tests
comparison mail_resolver.t @ 839:b87c6acf0e4b
Tests: updated mail resolver TODOs, fixed in 33c4d319f08f (1.9.11).
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 02 Feb 2016 14:23:16 +0300 |
parents | ded6b7648d6e |
children | 0654d7315b52 |
comparison
equal
deleted
inserted
replaced
838:ef6466f77e7c | 839:b87c6acf0e4b |
---|---|
208 } | 208 } |
209 | 209 |
210 # uncompressed answer | 210 # uncompressed answer |
211 | 211 |
212 TODO: { | 212 TODO: { |
213 local $TODO = 'support for uncompressed name in PTR'; | 213 local $TODO = 'support for uncompressed name in PTR' |
214 unless $t->has_version('1.9.11'); | |
214 | 215 |
215 $s = Test::Nginx::SMTP->new(PeerAddr => "127.0.0.1:8030"); | 216 $s = Test::Nginx::SMTP->new(PeerAddr => "127.0.0.1:8030"); |
216 $s->read(); | 217 $s->read(); |
217 $s->send('EHLO example.com'); | 218 $s->send('EHLO example.com'); |
218 $s->read(); | 219 $s->read(); |
226 $s->read(); | 227 $s->read(); |
227 | 228 |
228 } | 229 } |
229 | 230 |
230 TODO: { | 231 TODO: { |
231 local $TODO = 'PTR type checking'; | 232 local $TODO = 'PTR type checking' unless $t->has_version('1.9.11'); |
232 | 233 |
233 $s = Test::Nginx::SMTP->new(PeerAddr => "127.0.0.1:8031"); | 234 $s = Test::Nginx::SMTP->new(PeerAddr => "127.0.0.1:8031"); |
234 $s->read(); | 235 $s->read(); |
235 $s->send('EHLO example.com'); | 236 $s->send('EHLO example.com'); |
236 $s->read(); | 237 $s->read(); |
246 } | 247 } |
247 | 248 |
248 # CNAME and PTR in one answer section | 249 # CNAME and PTR in one answer section |
249 | 250 |
250 TODO: { | 251 TODO: { |
251 local $TODO = 'not yet'; | 252 local $TODO = 'not yet' unless $t->has_version('1.9.11'); |
252 | 253 |
253 $s = Test::Nginx::SMTP->new(PeerAddr => "127.0.0.1:8032"); | 254 $s = Test::Nginx::SMTP->new(PeerAddr => "127.0.0.1:8032"); |
254 $s->read(); | 255 $s->read(); |
255 $s->send('EHLO example.com'); | 256 $s->send('EHLO example.com'); |
256 $s->read(); | 257 $s->read(); |