view README @ 25:fbda19df2fc4

Tests: more proxy-noclose tests. 1. Make sure data got from upstream are flushed in case of upstream timeout (and so everything is ok even if we got no Content-Length). 2. Additional test that checks if nginx actually uses Content-Length info. This one will fail if nginx will wait for upstream timeout instead of sending response as soon as it got full body.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 30 Sep 2008 22:58:25 +0400
parents 1059c3002030
children 0880e0fafde4
line wrap: on
line source

Test suit for nginx.

Use prove to run tests as one usually do for perl tests.  Individual tests
may be run as well.

Note: some tests may fail since they are for bugs not fixed in public code.

Note: tests run nginx listening on localhost, and currently this includes
following ports: 8080, 10025.

Currently each test creates it's own temporary directory and uses it for
logs etc.  One may instruct tests not to remove the temp directory (e.g.
for analysis of failed test) by setting LEAVE environment variable.