Mercurial > hg > nginx-tests
comparison ssl.t @ 1324:918bf90466e0
Tests: hide startup warnings about deprecated ssl.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 08 May 2018 13:59:22 +0300 |
parents | 490691c45b3f |
children | f80176242a7e |
comparison
equal
deleted
inserted
replaced
1323:6eb3dd2d4d5a | 1324:918bf90466e0 |
---|---|
188 | 188 |
189 my $ctx = new IO::Socket::SSL::SSL_Context( | 189 my $ctx = new IO::Socket::SSL::SSL_Context( |
190 SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(), | 190 SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(), |
191 SSL_session_cache_size => 100); | 191 SSL_session_cache_size => 100); |
192 | 192 |
193 open OLDERR, ">&", \*STDERR; close STDERR; | |
193 $t->run(); | 194 $t->run(); |
195 open STDERR, ">&", \*OLDERR; | |
194 | 196 |
195 ############################################################################### | 197 ############################################################################### |
196 | 198 |
197 like(get('/reuse', 8085), qr/^body \.$/m, 'shared initial session'); | 199 like(get('/reuse', 8085), qr/^body \.$/m, 'shared initial session'); |
198 like(get('/reuse', 8085), qr/^body r$/m, 'shared session reused'); | 200 like(get('/reuse', 8085), qr/^body r$/m, 'shared session reused'); |