comparison mail_smtp_greeting_delay.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 6a0d934950bc
children 4e0e795e0019
comparison
equal deleted inserted replaced
345:8e8636a4fe61 346:c6b1430afc66
58 my $s = Test::Nginx::SMTP->new(); 58 my $s = Test::Nginx::SMTP->new();
59 $s->send('HELO example.com'); 59 $s->send('HELO example.com');
60 $s->check(qr/^5.. /, "command before greeting - session must be rejected"); 60 $s->check(qr/^5.. /, "command before greeting - session must be rejected");
61 61
62 TODO: { 62 TODO: {
63 local $TODO = 'not in official nginx yet'; 63 local $TODO = 'not yet' unless $t->has_version('1.5.6');
64 64
65 ok($s->eof(), "session have to be closed"); 65 ok($s->eof(), "session have to be closed");
66 66
67 } 67 }
68 68