Mercurial > hg > nginx-tests
comparison proxy_unfinished.t @ 939:cfddaf316233
Tests: restored proxy_temp_path access bits in proxy_unfinished.t.
Useful when removing that directory by hand.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 03 Jun 2016 14:31:52 +0300 |
parents | f4189a38c3a4 |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
938:d3ff66fc7f5c | 939:cfddaf316233 |
---|---|
140 # no final chunk | 140 # no final chunk |
141 | 141 |
142 chmod(0000, $t->testdir() . '/proxy_temp'); | 142 chmod(0000, $t->testdir() . '/proxy_temp'); |
143 like(http_get_11('/proxy/big.html', sleep => 0.5), | 143 like(http_get_11('/proxy/big.html', sleep => 0.5), |
144 qr/X(?!.*\x0d\x0a?0\x0d\x0a?)|finished/s, 'no proxy temp'); | 144 qr/X(?!.*\x0d\x0a?0\x0d\x0a?)|finished/s, 'no proxy temp'); |
145 | |
146 chmod(0700, $t->testdir() . '/proxy_temp'); | |
145 | 147 |
146 ############################################################################### | 148 ############################################################################### |
147 | 149 |
148 sub http_get_11 { | 150 sub http_get_11 { |
149 my ($uri, %extra) = @_; | 151 my ($uri, %extra) = @_; |