Mercurial > hg > nginx-tests
comparison scgi.t @ 241:a01a53bcbf11
Tests: remove unneeded TODOs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 26 Nov 2012 03:47:25 +0400 |
parents | a7cc4371f4ad |
children | 6a0d934950bc |
comparison
equal
deleted
inserted
replaced
240:462d89f5732a | 241:a01a53bcbf11 |
---|---|
61 like(http_get('/redir'), qr/302/, 'scgi redirect'); | 61 like(http_get('/redir'), qr/302/, 'scgi redirect'); |
62 like(http_get('/'), qr/^3$/m, 'scgi third request'); | 62 like(http_get('/'), qr/^3$/m, 'scgi third request'); |
63 | 63 |
64 unlike(http_head('/'), qr/SEE-THIS/, 'no data in HEAD'); | 64 unlike(http_head('/'), qr/SEE-THIS/, 'no data in HEAD'); |
65 | 65 |
66 SKIP: { | |
67 skip 'unsafe', 1 unless $ENV{TEST_NGINX_UNSAFE}; | |
68 local $TODO = 'not yet'; | |
69 | |
70 like(http_get_headers('/headers'), qr/SEE-THIS/, | 66 like(http_get_headers('/headers'), qr/SEE-THIS/, |
71 'scgi request with many ignored headers'); | 67 'scgi request with many ignored headers'); |
72 | |
73 } | |
74 | 68 |
75 ############################################################################### | 69 ############################################################################### |
76 | 70 |
77 sub http_get_headers { | 71 sub http_get_headers { |
78 my ($url, %extra) = @_; | 72 my ($url, %extra) = @_; |