Mercurial > hg > nginx-tests
comparison stream_ssl_certificate.t @ 1535:144c6ce732e4
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 02 Dec 2019 14:56:37 +0300 |
parents | dbce8fb5f5f8 |
children | f3ba4c74de31 |
comparison
equal
deleted
inserted
replaced
1534:96fb3513345b | 1535:144c6ce732e4 |
---|---|
144 } | 144 } |
145 | 145 |
146 $t->write_file('password_file', 'pass'); | 146 $t->write_file('password_file', 'pass'); |
147 $t->write_file('index.html', ''); | 147 $t->write_file('index.html', ''); |
148 | 148 |
149 $t->try_run('no ssl_certificate variables')->plan(7); | 149 $t->run()->plan(7); |
150 | 150 |
151 ############################################################################### | 151 ############################################################################### |
152 | 152 |
153 like(cert('default', 8080), qr/CN=one/, 'default certificate'); | 153 like(cert('default', 8080), qr/CN=one/, 'default certificate'); |
154 like(get('default', 8080), qr/default/, 'default context'); | 154 like(get('default', 8080), qr/default/, 'default context'); |