comparison 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
comparison
equal deleted inserted replaced
1903:4b41550ebdb3 1904:c04134b0290b
52 listen 127.0.0.1:8145 ssl; 52 listen 127.0.0.1:8145 ssl;
53 protocol imap; 53 protocol imap;
54 } 54 }
55 55
56 server { 56 server {
57 listen 127.0.0.1:8148; 57 listen 127.0.0.1:8148 ssl;
58 protocol imap; 58 protocol imap;
59
60 # Special case for enabled "ssl" directive.
61
62 ssl on;
63 59
64 ssl_certificate_key inherits.key; 60 ssl_certificate_key inherits.key;
65 ssl_certificate inherits.crt; 61 ssl_certificate inherits.crt;
66 } 62 }
67 63
131 . ">>$d/openssl.out 2>&1") == 0 127 . ">>$d/openssl.out 2>&1") == 0
132 or die "Can't create certificate for $name: $!\n"; 128 or die "Can't create certificate for $name: $!\n";
133 } 129 }
134 130
135 $t->write_file('password', 'localhost'); 131 $t->write_file('password', 'localhost');
136
137 open OLDERR, ">&", \*STDERR; close STDERR;
138 $t->run(); 132 $t->run();
139 open STDERR, ">&", \*OLDERR;
140 133
141 ############################################################################### 134 ###############################################################################
142 135
143 my ($s, $ssl); 136 my ($s, $ssl);
144 137