comparison proxy_noclose.t @ 224:ba992cfdc606

Tests: remove TODO from tests which pass in 1.2.x.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 03 Jun 2012 14:47:10 +0400
parents c0ae29632905
children 6a0d934950bc
comparison
equal deleted inserted replaced
223:f9325406df0b 224:ba992cfdc606
71 $t->run_daemon(\&http_noclose_daemon); 71 $t->run_daemon(\&http_noclose_daemon);
72 $t->run(); 72 $t->run();
73 73
74 ############################################################################### 74 ###############################################################################
75 75
76 like(http_get('/'), qr/SEE-THIS/, 'request to bad backend');
77 like(http_get('/multi'), qr/AND-THIS/, 'bad backend - multiple packets');
78 like(http_get('/uselen'), qr/SEE-THIS/, 'content-length actually used');
79
76 TODO: { 80 TODO: {
77 local $TODO = 'not fixed yet, patches under review'; 81 local $TODO = 'not yet';
78 local $SIG{__WARN__} = sub {}; 82 local $SIG{__WARN__} = sub {};
79 83
80 like(http_get('/'), qr/SEE-THIS/, 'request to bad backend');
81 like(http_get('/multi'), qr/AND-THIS/, 'bad backend - multiple packets');
82 like(http_get('/nolen'), qr/SEE-THIS/, 'bad backend - no content length'); 84 like(http_get('/nolen'), qr/SEE-THIS/, 'bad backend - no content length');
83 like(http_get('/uselen'), qr/SEE-THIS/, 'content-length actually used');
84 85
85 } 86 }
86 87
87 ############################################################################### 88 ###############################################################################
88 89