comparison ssl_certificate_perl.t @ 1535:144c6ce732e4

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 02 Dec 2019 14:56:37 +0300
parents dbce8fb5f5f8
children fd440d324700
comparison
equal deleted inserted replaced
1534:96fb3513345b 1535:144c6ce732e4
95 . "-out $d/$name.crt -keyout $d/$name.crt " 95 . "-out $d/$name.crt -keyout $d/$name.crt "
96 . ">>$d/openssl.out 2>&1") == 0 96 . ">>$d/openssl.out 2>&1") == 0
97 or die "Can't create certificate for $name: $!\n"; 97 or die "Can't create certificate for $name: $!\n";
98 } 98 }
99 99
100 $t->try_run('no ssl_certificate variables')->plan(2); 100 $t->run()->plan(2);
101 101
102 ############################################################################### 102 ###############################################################################
103 103
104 like(cert('one', 8080), qr/CN=one/, 'certificate'); 104 like(cert('one', 8080), qr/CN=one/, 'certificate');
105 like(cert('two', 8080), qr/CN=two/, 'certificate 2'); 105 like(cert('two', 8080), qr/CN=two/, 'certificate 2');