# HG changeset patch # User Maxim Dounin # Date 1320171196 -10800 # Node ID 168e63df025b5946fc8e0d7b364d08008ad7afb3 # Parent 89d3041856b39135d6027106b285c0f0c337605e Tests: caching of empty responses fixed in 1.1.5, remove TODO. diff --git a/proxy_cache.t b/proxy_cache.t --- a/proxy_cache.t +++ b/proxy_cache.t @@ -99,24 +99,16 @@ like(http_get_range('/t.html', 'Range: b like(http_get('/empty.html'), qr/HTTP/, 'empty get first'); like(http_get('/empty.html'), qr/HTTP/, 'empty get second'); -{ -local $TODO = 'not fixed yet'; - sleep(2); unlink $t->testdir() . '/t.html'; like(http_gzip_request('/t.html'), qr/HTTP.*1c\x0d\x0a.{28}\x0d\x0a0\x0d\x0a\x0d\x0a\z/s, 'non-empty get stale'); -} - -{ -local $TODO = 'broken in 0.8.31'; unlink $t->testdir() . '/empty.html'; like(http_gzip_request('/empty.html'), qr/HTTP.*14\x0d\x0a.{20}\x0d\x0a0\x0d\x0a\x0d\x0a\z/s, 'empty get stale'); -} { local $TODO = 'patch pending';