Mercurial > hg > nginx-tests
diff mail_imap.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 | 156cb84b3c23 |
children | 81519d01f238 |
line wrap: on
line diff
--- a/mail_imap.t Fri Aug 25 18:12:06 2023 +0400 +++ b/mail_imap.t Fri Aug 25 18:12:08 2023 +0400 @@ -223,14 +223,8 @@ $s->send('a01 LOGIN {18+}' . CRLF . 'te\"st@example.com' . ' "se\\\\\"cret"'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.0'); - $s->ok('backslash in literal'); -} - # pipelining $s = Test::Nginx::IMAP->new(); @@ -239,23 +233,14 @@ $s->send('a01 INVALID COMMAND WITH ARGUMENTS' . CRLF . 'a02 NOOP'); $s->check(qr/^a01 BAD/, 'pipelined invalid command'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.0'); - $s->ok('pipelined noop after invalid command'); -} - $s->send('a03 FOOBAR {10+}' . CRLF . 'test test ' . CRLF . 'a04 NOOP'); $s->check(qr/^a03 BAD/, 'invalid with non-sync literal'); $s->check(qr/^(a04 |$)/, 'literal not command'); -TODO: { -todo_skip('not yet', 2) unless $t->has_version('1.21.0'); - # skipped without a fix, since with level-triggered event methods # this hogs cpu till the connection is closed by the backend server, # and generates a lot of debug logs @@ -268,6 +253,4 @@ $s->ok('pipelined login'); $s->ok('pipelined logout'); -} - ###############################################################################