Mercurial > hg > nginx-tests
diff mail_smtp.t @ 1937:2a0a6035a1af
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 25 Aug 2023 18:12:08 +0400 |
parents | dbd19195df8a |
children | 92d90cc5f5e5 |
line wrap: on
line diff
--- a/mail_smtp.t +++ b/mail_smtp.t @@ -258,16 +258,9 @@ my $s = Test::Nginx::SMTP->new(); $s->print('MAIL FROM:<test@example.com> SIZE=100' . CRLF . 'RCPT TO:<test@example.com>' . CRLF . 'RS'); - $s->ok('split pipelined mail from'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.0'); - $s->ok('split pipelined rcpt to'); -} - $s->send('ET'); $s->ok('split pipelined rset'); @@ -284,10 +277,6 @@ local $TODO = 'not yet' unless $t->has_v . 'RCPT TO:<baz@example.com>' . CRLF . 'RCPT TO:<foobar@example.com>' . CRLF . 'RSET'); - -TODO: { -todo_skip 'long pipelined - not yet', 6 unless $t->has_version('1.21.0'); - $s->ok('long pipelined mail from'); $s->ok('long pipelined rcpt to'); $s->ok('long pipelined rcpt to 2'); @@ -295,8 +284,6 @@ todo_skip 'long pipelined - not yet', 6 $s->ok('long pipelined rcpt to 4'); $s->ok('long pipelined rset'); -} - # Connection must stay even if error returned to rcpt to command $s = Test::Nginx::SMTP->new(); @@ -333,12 +320,7 @@ select undef, undef, undef, 0.1; $s->send('AR'); $s->check(qr/^5.. /, 'invalid split command'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.0'); - $s->send('HELO example.com'); $s->ok('good after invalid split command'); -} - ###############################################################################