Mercurial > hg > nginx-tests
changeset 594:8dd5cf697eae
Tests: todo_alerts() with sendfile if any in proxied subrequests.
Use of sendfile may be injected via TEST_NGINX_GLOBALS_HTTP producing alerts.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 28 May 2015 14:40:29 +0300 |
parents | 6c0a5903d0ae |
children | 6cdfd177319b |
files | proxy_ssi_body.t |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_ssi_body.t Wed May 27 17:09:22 2015 +0300 +++ b/proxy_ssi_body.t Thu May 28 14:40:29 2015 +0300 @@ -58,6 +58,7 @@ $t->write_file('ssi.html', 'X<!--# include virtual="test.html" -->X'); $t->write_file('test.html', 'YY'); +$t->todo_alerts() if $t->read_file('nginx.conf') =~ /sendfile on/; $t->run(); ###############################################################################