Mercurial > hg > nginx-tests
comparison uwsgi.t @ 241:a01a53bcbf11
Tests: remove unneeded TODOs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 26 Nov 2012 03:47:25 +0400 |
parents | c8169c827d18 |
children | 6a0d934950bc |
comparison
equal
deleted
inserted
replaced
240:462d89f5732a | 241:a01a53bcbf11 |
---|---|
68 ############################################################################### | 68 ############################################################################### |
69 | 69 |
70 like(http_get('/'), qr/SEE-THIS/, 'uwsgi request'); | 70 like(http_get('/'), qr/SEE-THIS/, 'uwsgi request'); |
71 unlike(http_head('/head'), qr/SEE-THIS/, 'no data in HEAD'); | 71 unlike(http_head('/head'), qr/SEE-THIS/, 'no data in HEAD'); |
72 | 72 |
73 SKIP: { | |
74 skip 'unsafe', 1 unless $ENV{TEST_NGINX_UNSAFE}; | |
75 local $TODO = 'not yet'; | |
76 | |
77 like(http_get_headers('/headers'), qr/SEE-THIS/, | 73 like(http_get_headers('/headers'), qr/SEE-THIS/, |
78 'uwsgi request with many ignored headers'); | 74 'uwsgi request with many ignored headers'); |
79 | |
80 } | |
81 | 75 |
82 ############################################################################### | 76 ############################################################################### |
83 | 77 |
84 sub http_get_headers { | 78 sub http_get_headers { |
85 my ($url, %extra) = @_; | 79 my ($url, %extra) = @_; |