Mercurial > hg > nginx-tests
comparison not_modified_finalize.t @ 1693:5ac6efbe5552
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Jun 2021 16:40:18 +0300 |
parents | 54b92955e4e2 |
children |
comparison
equal
deleted
inserted
replaced
1692:f6795e2e6a4b | 1693:5ac6efbe5552 |
---|---|
82 # in ngx_http_upstream_cache_background_update(), after it was reset | 82 # in ngx_http_upstream_cache_background_update(), after it was reset |
83 # during internal redirect | 83 # during internal redirect |
84 | 84 |
85 http_get('/t.html'); | 85 http_get('/t.html'); |
86 | 86 |
87 TODO: { | |
88 todo_skip 'leaves coredump', 1 unless $ENV{TEST_NGINX_UNSAFE} | |
89 or $t->has_version('1.17.1'); | |
90 | |
91 like(http_match_get('/t.html'), qr//, 'request 412 cached'); | 87 like(http_match_get('/t.html'), qr//, 'request 412 cached'); |
92 | |
93 } | |
94 | 88 |
95 ############################################################################### | 89 ############################################################################### |
96 | 90 |
97 sub http_match_get { | 91 sub http_match_get { |
98 my ($url, %extra) = @_; | 92 my ($url, %extra) = @_; |