Mercurial > hg > nginx-tests
changeset 147:fd865ada95c8
Tests: error_page status code change fixed in 0.9.5.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 21 Feb 2011 14:26:27 +0300 |
parents | afa07ae9def6 |
children | b714d6df958c |
files | http-error-page.t |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/http-error-page.t +++ b/http-error-page.t @@ -100,15 +100,15 @@ mkdir($t->testdir() . '/directory'); ############################################################################### -TODO: { -local $TODO = 'not yet'; - # tests for error_page status code change for redirects. problems -# introduced in 0.8.53. +# introduced in 0.8.53 and fixed in 0.9.5. like(http_get('/redirect200'), qr!HTTP!, 'redirect 200'); like(http_get('/redirect497'), qr!HTTP/1.1 302!, 'redirect 497'); +TODO: { +local $TODO = 'not yet'; + # various tests to see if old location cleared if we happen to redirect # again in error_page 302