Mercurial > hg > nginx-tests
diff h2_ssl_verify_client.t @ 1086:b3b1403641d3
Tests: allow new $ssl_client_verify syntax again.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 05 Dec 2016 22:18:22 +0300 |
parents | efccab043dd3 |
children | 8ef51dbb5d69 |
line wrap: on
line diff
--- a/h2_ssl_verify_client.t +++ b/h2_ssl_verify_client.t @@ -102,7 +102,7 @@ plan(skip_all => 'no alpn') unless $s->a ############################################################################### is(get('localhost')->{'x-verify'}, 'SUCCESS', 'success'); -is(get('example.com')->{'x-verify'}, 'FAILED', 'failed'); +like(get('example.com')->{'x-verify'}, qr/FAILED/, 'failed'); is(get('localhost', 'example.com')->{':status'}, '421', 'misdirected'); ###############################################################################