Mercurial > hg > nginx-tests
diff quic_migration.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 | 6dcf5a1df790 |
children | b68471aee5ad |
line wrap: on
line diff
--- a/quic_migration.t +++ b/quic_migration.t @@ -23,13 +23,10 @@ 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 $@; - plan(skip_all => '127.0.0.20 local address required') unless defined IO::Socket::INET->new( LocalAddr => '127.0.0.20' ); -my $t = Test::Nginx->new()->has(qw/http http_v3/) +my $t = Test::Nginx->new()->has(qw/http http_v3 cryptx/) ->has_daemon('openssl')->plan(2); $t->write_file_expand('nginx.conf', <<'EOF');