diff mail_ssl.t @ 1904:c04134b0290b

Tests: removed deprecated "ssl" directive tests. In preparation for the directive removal.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 05 Jun 2023 18:55:36 +0400
parents 7a27a4e4fdae
children 2a0a6035a1af
line wrap: on
line diff
--- a/mail_ssl.t
+++ b/mail_ssl.t
@@ -54,13 +54,9 @@ mail {
     }
 
     server {
-        listen             127.0.0.1:8148;
+        listen             127.0.0.1:8148 ssl;
         protocol           imap;
 
-        # Special case for enabled "ssl" directive.
-
-        ssl on;
-
         ssl_certificate_key inherits.key;
         ssl_certificate inherits.crt;
     }
@@ -133,10 +129,7 @@ foreach my $name ('localhost', 'inherits
 }
 
 $t->write_file('password', 'localhost');
-
-open OLDERR, ">&", \*STDERR; close STDERR;
 $t->run();
-open STDERR, ">&", \*OLDERR;
 
 ###############################################################################