Mercurial > hg > nginx-tests
comparison ssl_engine_keys.t @ 914:3ac4036b139d
Tests: fixed proxy prerequisites.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 22 Apr 2016 16:22:00 +0300 |
parents | 907e89fba9c3 |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
913:dba252c2afd6 | 914:3ac4036b139d |
---|---|
25 plan(skip_all => 'win32') if $^O eq 'MSWin32'; | 25 plan(skip_all => 'win32') if $^O eq 'MSWin32'; |
26 | 26 |
27 plan(skip_all => 'may not work, leaves coredump') | 27 plan(skip_all => 'may not work, leaves coredump') |
28 unless $ENV{TEST_NGINX_UNSAFE}; | 28 unless $ENV{TEST_NGINX_UNSAFE}; |
29 | 29 |
30 my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl') | 30 my $t = Test::Nginx->new()->has(qw/http proxy http_ssl/)->has_daemon('openssl') |
31 ->has_daemon('softhsm')->has_daemon('pkcs11-tool')->plan(1); | 31 ->has_daemon('softhsm')->has_daemon('pkcs11-tool')->plan(1); |
32 | 32 |
33 $t->write_file_expand('nginx.conf', <<'EOF'); | 33 $t->write_file_expand('nginx.conf', <<'EOF'); |
34 | 34 |
35 %%TEST_GLOBALS%% | 35 %%TEST_GLOBALS%% |