Tengine是由淘宝网发起的Web服务器项目。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
weiyue f40f0b70d6 add doc for ngx_http_dyups_module 10 years ago
..
cases bugfixed: syslog crashed when used in error_log within 'http' block 11 years ago
dso_cases added proxy_ssl_session_reuse off for https proxy 13 years ago
test-nginx tengine 2.1.0 for release 11 years ago
README add dso support 13 years ago

README


Just test the static modules:

PATH=/path/to/nginx/sbin:$PATH prove -r cases/footer.t
PATH=/path/to/nginx/sbin:$PATH prove -r cases/syslog.t
PATH=/path/to/nginx/sbin:$PATH prove -r cases/user_agent.t
TEST_NGINX_SLEEP_BEFORE=6 TEST_NGINX_USE_HUP=1 PATH=/path/to/nginx/sbin:$PATH prove -r cases/ngx_http_upstream_check_module


Just test the DSO modules. The test script can compile the dso module when testing:

TEST_NGINX_DSO_PATH=/path/to/dso/module/source/ TEST_NGINX_BINARY=/path/to/nginx/sbin/nginx prove -r dso_cases/footer.t
TEST_NGINX_DSO_PATH=/path/to/dso/module/source/ TEST_NGINX_BINARY=/path/to/nginx/sbin/nginx prove -r dso_cases/syslog.t
TEST_NGINX_DSO_PATH=/path/to/dso/module/source/ TEST_NGINX_BINARY=/path/to/nginx/sbin/nginx prove -r dso_cases/user_agent.t
TEST_NGINX_DSO_PATH=/path/to/dso/module/source/ TEST_NGINX_BINARY=/path/to/nginx/sbin/nginx TEST_NGINX_SLEEP_BEFORE=6 TEST_NGINX_USE_HUP=1 PATH=/path/to/nginx/sbin:$PATH prove -r cases/ngx_http_upstream_check_module