Mercurial > hg > nginx-tests
comparison ssl_verify_client.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | e8eef0ebc548 |
children | e5246e5caa31 |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
137 | 137 |
138 ############################################################################### | 138 ############################################################################### |
139 | 139 |
140 like(http_get('/t'), qr/x:x/, 'plain connection'); | 140 like(http_get('/t'), qr/x:x/, 'plain connection'); |
141 like(get('on'), qr/400 Bad Request/, 'no cert'); | 141 like(get('on'), qr/400 Bad Request/, 'no cert'); |
142 | |
143 TODO: { | |
144 todo_skip 'leaves coredump', 1 unless $t->has_version('1.13.9'); | |
145 | |
146 like(get('no_context'), qr/400 Bad Request/, 'no server cert'); | 142 like(get('no_context'), qr/400 Bad Request/, 'no server cert'); |
147 | |
148 } | |
149 | |
150 like(get('optional'), qr/NONE:x/, 'no optional cert'); | 143 like(get('optional'), qr/NONE:x/, 'no optional cert'); |
151 like(get('optional', '1.example.com'), qr/400 Bad/, 'bad optional cert'); | 144 like(get('optional', '1.example.com'), qr/400 Bad/, 'bad optional cert'); |
152 like(get('optional_no_ca', '1.example.com'), qr/FAILED.*BEGIN/, | 145 like(get('optional_no_ca', '1.example.com'), qr/FAILED.*BEGIN/, |
153 'bad optional_no_ca cert'); | 146 'bad optional_no_ca cert'); |
154 | 147 |