comparison stream_ssl_alpn.t @ 1937:2a0a6035a1af

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 25 Aug 2023 18:12:08 +0400
parents 46351d990aee
children 3ba1668cea87
comparison
equal deleted inserted replaced
1936:716d7500317d 1937:2a0a6035a1af
69 . "-out $d/$name.crt -keyout $d/$name.key " 69 . "-out $d/$name.crt -keyout $d/$name.key "
70 . ">>$d/openssl.out 2>&1") == 0 70 . ">>$d/openssl.out 2>&1") == 0
71 or die "Can't create certificate for $name: $!\n"; 71 or die "Can't create certificate for $name: $!\n";
72 } 72 }
73 73
74 $t->try_run('no ssl_alpn')->plan(6); 74 $t->run()->plan(6);
75 75
76 ############################################################################### 76 ###############################################################################
77 77
78 is(get_ssl('first'), 'X first X', 'alpn match'); 78 is(get_ssl('first'), 'X first X', 'alpn match');
79 is(get_ssl('wrong', 'first'), 'X first X', 'alpn many'); 79 is(get_ssl('wrong', 'first'), 'X first X', 'alpn many');