comparison uwsgi_ssl.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 f069dd7ba5a7
children 1b9f21836f57
comparison
equal deleted inserted replaced
1692:f6795e2e6a4b 1693:5ac6efbe5552
110 $t->waitforsocket('127.0.0.1:' . port(8081)) 110 $t->waitforsocket('127.0.0.1:' . port(8081))
111 or die "Can't start uwsgi"; 111 or die "Can't start uwsgi";
112 112
113 ############################################################################### 113 ###############################################################################
114 114
115 TODO: {
116 todo_skip 'not yet', 7 unless $t->has_version('1.19.1');
117
118 like(http_get('/'), qr/SEE-THIS/, 'uwsgi request'); 115 like(http_get('/'), qr/SEE-THIS/, 'uwsgi request');
119 like(http_head('/head'), qr/200 OK(?!.*SEE-THIS)/s, 'no data in HEAD'); 116 like(http_head('/head'), qr/200 OK(?!.*SEE-THIS)/s, 'no data in HEAD');
120 117
121 like(http_get_headers('/headers'), qr/SEE-THIS/, 118 like(http_get_headers('/headers'), qr/SEE-THIS/,
122 'uwsgi request with many ignored headers'); 119 'uwsgi request with many ignored headers');
125 'uwsgi with variables'); 122 'uwsgi with variables');
126 like(http_get('/var?b=u'), qr/SEE-THIS/, 'uwsgi with variables to upstream'); 123 like(http_get('/var?b=u'), qr/SEE-THIS/, 'uwsgi with variables to upstream');
127 124
128 like(http_post('/'), qr/SEE-THIS/, 'uwsgi post'); 125 like(http_post('/'), qr/SEE-THIS/, 'uwsgi post');
129 like(http_post_big('/'), qr/SEE-THIS/, 'uwsgi big post'); 126 like(http_post_big('/'), qr/SEE-THIS/, 'uwsgi big post');
130
131 }
132 127
133 ############################################################################### 128 ###############################################################################
134 129
135 sub http_get_headers { 130 sub http_get_headers {
136 my ($url, %extra) = @_; 131 my ($url, %extra) = @_;