diff grpc_ssl.t @ 1900:236d038dc04a

Tests: suppress "listen .. http2;" deprecation warnings.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 31 May 2023 13:29:34 +0400
parents 58951cf933e1
children b5036a0f9ae0
line wrap: on
line diff
--- a/grpc_ssl.t
+++ b/grpc_ssl.t
@@ -128,7 +128,11 @@ sleep 1 if $^O eq 'MSWin32';
 
 $t->write_file('password', 'client');
 
+# suppress deprecation warning
+
+open OLDERR, ">&", \*STDERR; close STDERR;
 $t->run();
+open STDERR, ">&", \*OLDERR;
 
 ###############################################################################