diff 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
line wrap: on
line diff
--- a/mail_smtp_greeting_delay.t
+++ b/mail_smtp_greeting_delay.t
@@ -60,7 +60,7 @@ my $s = Test::Nginx::SMTP->new();
 $s->check(qr/^5.. /, "command before greeting - session must be rejected");
 
 TODO: {
-local $TODO = 'not in official nginx yet';
+local $TODO = 'not yet' unless $t->has_version('1.5.6');
 
 ok($s->eof(), "session have to be closed");