File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change
1
+ t /servroot
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Table of Contents
9
9
=================
10
10
11
11
* [ Version] ( #version )
12
+ * [ Test] ( #test )
12
13
* [ Dependencies] ( #dependencies )
13
14
* [ Compatibility] ( #compatibility )
14
15
* [ Screenshots] ( #screenshots )
@@ -79,6 +80,10 @@ Table of Contents
79
80
## Version
80
81
This document describes nginx-module-vts ` v0.1.18 ` released on 22 Jun 2018.
81
82
83
+ ## Test
84
+ Run ` sudo prove -r t ` after you have installed this module. The ` sudo ` is required because
85
+ the test requires Nginx to listen on port 80.
86
+
82
87
## Dependencies
83
88
* [ nginx] ( http://nginx.org )
84
89
Original file line number Diff line number Diff line change 2
2
3
3
use Test::Nginx::Socket;
4
4
5
- plan tests => repeat_each() * blocks() * 12 ;
5
+ plan tests => repeat_each() * blocks() * 11 + 2 ;
6
6
no_shuffle();
7
7
run_tests();
8
8
@@ -184,15 +184,13 @@ __DATA__
184
184
'GET /backend/file.txt',
185
185
'GET /backend/file.txt',
186
186
'GET /backend/file.txt',
187
- 'GET /backend/file.txt',
188
187
]
189
188
--- error_code eval
190
189
[
191
190
200,
192
191
200,
193
192
200,
194
193
200,
195
- 200,
196
194
503,
197
195
]
198
196
--- response_body_like eval
@@ -202,5 +200,4 @@ __DATA__
202
200
'OK',
203
201
'OK',
204
202
'OK',
205
- 'OK',
206
203
]
You can’t perform that action at this time.
0 commit comments