Mercurial > hg > nginx-tests
diff h3_server_name.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 | acd68670b064 |
children | 236d038dc04a |
line wrap: on
line diff
--- a/h3_server_name.t +++ b/h3_server_name.t @@ -24,11 +24,8 @@ use Test::Nginx::HTTP3; select STDERR; $| = 1; select STDOUT; $| = 1; -eval { require Crypt::Misc; die if $Crypt::Misc::VERSION < 0.067; }; -plan(skip_all => 'CryptX version >= 0.067 required') if $@; - my $t = Test::Nginx->new() - ->has(qw/http http_ssl http_v2 http_v3 rewrite socket_ssl_alpn/) + ->has(qw/http http_ssl http_v2 http_v3 rewrite socket_ssl_alpn cryptx/) ->has_daemon('openssl')->plan(6); $t->write_file_expand('nginx.conf', <<'EOF');