Mercurial > hg > nginx-tests
diff mail_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 | 0af58b78df35 |
children | dbce8fb5f5f8 |
line wrap: on
line diff
--- a/mail_ssl.t +++ b/mail_ssl.t @@ -161,7 +161,10 @@ foreach my $name ('localhost', 'inherits my $ctx = Net::SSLeay::CTX_new() or die("Failed to create SSL_CTX $!"); $t->write_file('password', 'localhost'); + +open OLDERR, ">&", \*STDERR; close STDERR; $t->run(); +open STDERR, ">&", \*OLDERR; ###############################################################################