Mercurial > hg > nginx-tests
changeset 819:3200d5b4ffa8
Tests: removed TODOs for fixes merged in 1.8.1.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 26 Jan 2016 14:36:57 +0300 |
parents | 685fc620d721 |
children | 45471a9017cc |
files | http_try_files.t not_modified_proxy.t ssl_sni_sessions.t |
diffstat | 3 files changed, 0 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/http_try_files.t +++ b/http_try_files.t @@ -116,20 +116,8 @@ like(http_get('/file-dir/'), qr!404 Not! like(http_get('/dir-dir/'), qr!301 Moved Permanently!, 'dir matches dir'); like(http_get('/dir-file/'), qr!404 Not!, 'dir does not match file'); -SKIP: { -skip 'leaves coredump', 1 unless $t->has_version('1.9.4') - or $ENV{TEST_NGINX_UNSAFE}; - like(http_get('/alias-re.html'), qr!SEE THIS!, 'alias in regex location'); - -} - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.9.4'); - like(http_get('/alias-nested/found.html'), qr!SEE THIS!, 'alias with nested location'); -} - ###############################################################################
--- a/not_modified_proxy.t +++ b/not_modified_proxy.t @@ -28,8 +28,6 @@ select STDOUT; $| = 1; my $t = Test::Nginx->new()->has(qw/http proxy cache shmem/)->plan(12); -$t->todo_alerts() unless $t->has_version('1.9.5'); - $t->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%
--- a/ssl_sni_sessions.t +++ b/ssl_sni_sessions.t @@ -138,9 +138,6 @@ my $ctx = get_ssl_context(); like(get('default', 8443, $ctx), qr!default:\.!, 'default server'); like(get('default', 8443, $ctx), qr!default:r!, 'default server reused'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.9.6'); - # check that sessions are still properly saved and restored # when using an SNI-based virtual server with different session cache; # as session resumption happens before SNI, only default server @@ -164,8 +161,6 @@ like(get('nocache', 8443, $ctx), qr!noca like(get('tickets', 8444, $ctx), qr!tickets:\.!, 'tickets'); like(get('tickets', 8444, $ctx), qr!tickets:r!, 'tickets reused'); -} - ############################################################################### sub get_ssl_context {