nginx-tests: proxy_unfinished.t test 'no proxy temp' does not work
|Reported by:||Markus Linnala||Owned by:|
|uname -a:||Linux tester 3.13.9-200.fc20.x86_64 #1 SMP Fri Apr 4 12:13:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux|
nginx version: nginx/1.5.13
built by gcc 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)
configure arguments: --with-http_sub_module
nginx-tests proxy_unfinished.t last test 'no proxy temp' does not work as nginx does not write to proxy_temp.
This is obvious from error_log as there is no mention of error writing to proxy_temp.
I'm using stock nginx 1.5.13 with sub module.
If I modify test (attached), I can get error like
2014/04/14 18:03:37 [crit] 13385#0: *1 open() "/tmp/nginx-test-hZk1LOj63E/proxy_temp/0000000001" failed (13: Permission denied) while reading upstream, client: 127.0.0.1, server: localhost, request: "GET /proxy/big.html HTTP/1.1", upstream: "http://127.0.0.1:8081/proxy/big.html", host: "localhost"
And test also fails to do what is intended as it does not output anything.