changeset 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 8e8636a4fe61
children f6d195aa0303
files mail_smtp.t mail_smtp_greeting_delay.t
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mail_smtp.t
+++ b/mail_smtp.t
@@ -141,7 +141,7 @@ my $s = Test::Nginx::SMTP->new();
 # Try auth plain with pipelining
 
 TODO: {
-local $TODO = 'pipelining not in official nginx';
+local $TODO = 'not yet' unless $t->has_version('1.5.6');
 local $SIG{__WARN__} = sub {};
 
 $s = Test::Nginx::SMTP->new();
@@ -198,7 +198,7 @@ local $SIG{__WARN__} = sub {};
 $s->ok('pipelined mail from');
 
 TODO: {
-local $TODO = 'pipelining not in official nginx';
+local $TODO = 'not yet' unless $t->has_version('1.5.6');
 local $SIG{__WARN__} = sub {};
 
 $s->ok('pipelined rcpt to');
--- 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");