Chia-Che Tsai 76967f39d3 Bugfixes: 7 years ago
..
lib 76967f39d3 Bugfixes: 7 years ago
LICENSE 76967f39d3 Bugfixes: 7 years ago
README 76967f39d3 Bugfixes: 7 years ago
auth_basic.t 76967f39d3 Bugfixes: 7 years ago
autoindex.t 76967f39d3 Bugfixes: 7 years ago
dav.t 76967f39d3 Bugfixes: 7 years ago
fastcgi.t 76967f39d3 Bugfixes: 7 years ago
fastcgi_cache.t 76967f39d3 Bugfixes: 7 years ago
fastcgi_header_params.t 76967f39d3 Bugfixes: 7 years ago
gzip.t 76967f39d3 Bugfixes: 7 years ago
gzip_flush.t 76967f39d3 Bugfixes: 7 years ago
http_error_page.t 76967f39d3 Bugfixes: 7 years ago
http_expect_100_continue.t 76967f39d3 Bugfixes: 7 years ago
http_location.t 76967f39d3 Bugfixes: 7 years ago
http_server_name.t 76967f39d3 Bugfixes: 7 years ago
limit_req.t 76967f39d3 Bugfixes: 7 years ago
mail_imap.t 76967f39d3 Bugfixes: 7 years ago
mail_pop3.t 76967f39d3 Bugfixes: 7 years ago
mail_smtp.t 76967f39d3 Bugfixes: 7 years ago
mail_smtp_greeting_delay.t 76967f39d3 Bugfixes: 7 years ago
mail_smtp_xclient.t 76967f39d3 Bugfixes: 7 years ago
memcached.t 76967f39d3 Bugfixes: 7 years ago
memcached_fake.t 76967f39d3 Bugfixes: 7 years ago
not_modified.t 76967f39d3 Bugfixes: 7 years ago
perl.t 76967f39d3 Bugfixes: 7 years ago
perl_gzip.t 76967f39d3 Bugfixes: 7 years ago
proxy.t 76967f39d3 Bugfixes: 7 years ago
proxy_cache.t 76967f39d3 Bugfixes: 7 years ago
proxy_chunked.t 76967f39d3 Bugfixes: 7 years ago
proxy_noclose.t 76967f39d3 Bugfixes: 7 years ago
proxy_store.t 76967f39d3 Bugfixes: 7 years ago
proxy_xar.t 76967f39d3 Bugfixes: 7 years ago
random_index.t 76967f39d3 Bugfixes: 7 years ago
range.t 76967f39d3 Bugfixes: 7 years ago
range_flv.t 76967f39d3 Bugfixes: 7 years ago
rewrite.t 76967f39d3 Bugfixes: 7 years ago
rewrite_unescape.t 76967f39d3 Bugfixes: 7 years ago
scgi.t 76967f39d3 Bugfixes: 7 years ago
secure_link.t 76967f39d3 Bugfixes: 7 years ago
ssi.t 76967f39d3 Bugfixes: 7 years ago
ssi_include_big.t 76967f39d3 Bugfixes: 7 years ago
ssi_waited.t 76967f39d3 Bugfixes: 7 years ago

README

Test suite for nginx.

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

Note: tests run nginx (and backend daemons if needed) listening on localhost
and may use various ports in 8000 .. 8999 range.

Usage:

$ TEST_NGINX_BINARY=/path/to/nginx prove .

By default tests expect nginx binary to be at ../nginx/objs/nginx.

Environment variables:

TEST_NGINX_BINARY

Sets path to nginx binary to be tested, defaults to "../nginx/objs/nginx".

TEST_NGINX_VERBOSE

Be a bit more verbose (in particular, print requests sent and responses
got from nginx). Note that this requires prove -v (or HARNESS_VERBOSE).

TEST_NGINX_LEAVE

If set temporary directory with configs and logs won't be deleted on test
completion. Usefull for debugging.

TEST_NGINX_CATLOG

Cat error log to stdout after test completion. Usefull for debugging.

TEST_NGINX_UNSAFE

Run unsafe tests.

Happy testing!