Mercurial > hg > nginx-tests
comparison 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 |
comparison
equal
deleted
inserted
replaced
1085:30a6fbab4e33 | 1086:b3b1403641d3 |
---|---|
100 $t->plan(3); | 100 $t->plan(3); |
101 | 101 |
102 ############################################################################### | 102 ############################################################################### |
103 | 103 |
104 is(get('localhost')->{'x-verify'}, 'SUCCESS', 'success'); | 104 is(get('localhost')->{'x-verify'}, 'SUCCESS', 'success'); |
105 is(get('example.com')->{'x-verify'}, 'FAILED', 'failed'); | 105 like(get('example.com')->{'x-verify'}, qr/FAILED/, 'failed'); |
106 is(get('localhost', 'example.com')->{':status'}, '421', 'misdirected'); | 106 is(get('localhost', 'example.com')->{':status'}, '421', 'misdirected'); |
107 | 107 |
108 ############################################################################### | 108 ############################################################################### |
109 | 109 |
110 sub get_ssl_socket { | 110 sub get_ssl_socket { |