comparison ssl_reject_handshake.t @ 1693:5ac6efbe5552

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 16:40:18 +0300
parents d35db22947ab
children 2a7fc70900a5
comparison
equal deleted inserted replaced
1692:f6795e2e6a4b 1693:5ac6efbe5552
107 . ">>$d/openssl.out 2>&1") == 0 107 . ">>$d/openssl.out 2>&1") == 0
108 or die "Can't create certificate for $name: $!\n"; 108 or die "Can't create certificate for $name: $!\n";
109 } 109 }
110 110
111 $t->write_file('index.html', ''); 111 $t->write_file('index.html', '');
112 $t->try_run('no ssl_reject_handshake')->plan(9); 112
113 # suppress deprecation warning
114
115 open OLDERR, ">&", \*STDERR; close STDERR;
116 $t->run()->plan(9);
117 open STDERR, ">&", \*OLDERR;
113 118
114 ############################################################################### 119 ###############################################################################
115 120
116 # default virtual server rejected 121 # default virtual server rejected
117 122