Mercurial > hg > nginx-tests
changeset 1233:4a57ca616f8e
Tests: skip ssl_sni_sessions.t on win32 prior to 1.13.5.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 23 Oct 2017 18:23:11 +0300 |
parents | a4a040b4e4dd |
children | 0defcc1c87ab |
files | ssl_sni_sessions.t |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ssl_sni_sessions.t Sat Oct 21 01:07:48 2017 +0300 +++ b/ssl_sni_sessions.t Mon Oct 23 18:23:11 2017 +0300 @@ -21,9 +21,11 @@ select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http http_ssl sni rewrite/) - ->has_daemon('openssl') - ->write_file_expand('nginx.conf', <<'EOF'); +my $t = Test::Nginx->new()->has(qw/http http_ssl sni rewrite/); + +plan(skip_all => 'win32') if $^O eq 'MSWin32' and !$t->has_version('1.13.5'); + +$t->has_daemon('openssl')->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%