comparison h3_ssl_session_reuse.t @ 1896:8b74936ff2ac

Tests: added has_feature() test for CryptX.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 29 May 2023 17:04:36 +0400
parents 905b1704eb54
children
comparison
equal deleted inserted replaced
1895:acd68670b064 1896:8b74936ff2ac
21 ############################################################################### 21 ###############################################################################
22 22
23 select STDERR; $| = 1; 23 select STDERR; $| = 1;
24 select STDOUT; $| = 1; 24 select STDOUT; $| = 1;
25 25
26 eval { require Crypt::Misc; die if $Crypt::Misc::VERSION < 0.067; }; 26 my $t = Test::Nginx->new()->has(qw/http http_v3 cryptx/)
27 plan(skip_all => 'CryptX version >= 0.067 required') if $@;
28
29 my $t = Test::Nginx->new()->has(qw/http http_v3/)
30 ->has_daemon('openssl')->plan(8) 27 ->has_daemon('openssl')->plan(8)
31 ->write_file_expand('nginx.conf', <<'EOF'); 28 ->write_file_expand('nginx.conf', <<'EOF');
32 29
33 %%TEST_GLOBALS%% 30 %%TEST_GLOBALS%%
34 31