Skip to content

Commit 025a1f0

Browse files
authored
Merge pull request chobits#114 from chobits/for_pull_request
updated README.md: added chapter of Test Suite
2 parents c0bf9ef + 7dac50e commit 025a1f0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Table of Contents
1717
* [build nginx](#build-nginx)
1818
* [build as a dynamic module](#build-as-a-dynamic-module)
1919
* [build OpenResty](#build-openresty)
20+
* [Test Suite](#test-suite)
2021
* [Directive](#directive)
2122
* [proxy_connect](#proxy_connect)
2223
* [proxy_connect_allow](#proxy_connect_allow)
@@ -325,6 +326,17 @@ In order for this parameter to work, it is usually necessary to run nginx worker
325326

326327
NOTE: If using `set $<nginx variable>` and `proxy_connect_bind $<nginx variable>` together, you should use `proxy_connect_rewrite.patch` instead, see [Install](#install) for more details.
327328

329+
Test Suite
330+
==========
331+
332+
* To run the whole test suite:
333+
334+
```bash
335+
$ hg clone http://hg.nginx.org/nginx-tests/
336+
$ export TEST_NGINX_BINARY=/path/to/nginx/binary
337+
$ prove -v -I /path/to/nginx-tests/lib /path/to/ngx_http_proxy_connect_module/t/
338+
```
339+
328340
Variables
329341
=========
330342

0 commit comments

Comments
 (0)