Mercurial > hg > nginx-tests
diff stream_ssl_verify_client.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | 3fc6817cd84a |
children | dbce8fb5f5f8 |
line wrap: on
line diff
--- a/stream_ssl_verify_client.t +++ b/stream_ssl_verify_client.t @@ -108,26 +108,14 @@ foreach my $name ('1.example.com', '2.ex or die "Can't create certificate for $name: $!\n"; } -$t->try_run('no ssl_verify_client')->plan(10); +$t->run()->plan(10); ############################################################################### -TODO: { -todo_skip 'leaves coredump', 1 unless $t->has_version('1.11.9'); - is(stream('127.0.0.1:' . port(8080))->read(), ':', 'plain connection'); -} - -TODO: { -local $TODO = 'fails on one-pass ngx_ssl_handshake' - unless $t->has_version('1.11.9'); - is(get(8081), '', 'no cert'); is(get(8082, '1.example.com'), '', 'bad optional cert'); - -} - is(get(8082), 'NONE:', 'no optional cert'); like(get(8083, '1.example.com'), qr/FAILED.*BEGIN/, 'bad optional_no_ca cert'); @@ -143,15 +131,10 @@ is($ca, '/CN=2.example.com', 'no trusted } -TODO: { -local $TODO = 'not yet, see above' unless $t->has_version('1.11.9'); - $t->stop(); is($t->read_file('status.log'), "500\n200\n", 'log'); -} - ############################################################################### sub get {