Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
62dc9421
Commit
62dc9421
authored
Mar 09, 2016
by
Guillaume Quintard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor edits to varnishtest doc
parent
7e9883da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
varnishtest.rst
doc/sphinx/reference/varnishtest.rst
+20
-16
No files found.
doc/sphinx/reference/varnishtest.rst
View file @
62dc9421
...
@@ -178,7 +178,7 @@ AVAILABLE COMMANDS
...
@@ -178,7 +178,7 @@ AVAILABLE COMMANDS
server
server
******
******
Creates
mock of a
server that can accept requests from Varnish and send
Creates
a mock
server that can accept requests from Varnish and send
responses. Accepted parameters:
responses. Accepted parameters:
\-listen
\-listen
...
@@ -188,6 +188,8 @@ client
...
@@ -188,6 +188,8 @@ client
******
******
Creates a client instance that sends requests to Varnish and receives responses.
Creates a client instance that sends requests to Varnish and receives responses.
By default, a client will try and connect to the first varnish server available.
Accepted parameters:
Accepted parameters:
\-connect
\-connect
...
@@ -197,11 +199,11 @@ server/client command arguments
...
@@ -197,11 +199,11 @@ server/client command arguments
*******************************
*******************************
\-repeat INT
\-repeat INT
repeat the commands INT in order
repeat
s
the commands INT in order
\-wait
\-wait
waits for commands to complete
waits for commands to complete
\-start
\-start
start the client, and continue without waiting for completion
start
s
the client, and continue without waiting for completion
\-run
\-run
equivalent to -start then -wait
equivalent to -start then -wait
...
@@ -212,30 +214,32 @@ varnish
...
@@ -212,30 +214,32 @@ varnish
Starts Varnish instance. Accepted arguments:
Starts Varnish instance. Accepted arguments:
\-arg STRING
\-arg STRING
pass additional arguments to varnishd
pass
es
additional arguments to varnishd
\-cli
\-cli
execute a command in CLI of running instance
execute
s
a command in CLI of running instance
\-cliok
\-cliok
execute a command and expect it return OK status
execute
s
a command and expect it return OK status
\-clierr
\-clierr
execute a command and expect it to error with given status
execute
s
a command and expect it to error with given status
(e.g. "-clierr 300 panic.clear")
(e.g. "-clierr 300 panic.clear")
\-vcl+backend
\-vcl STRING
specify VCL for the instance, and automatically inject a backend into the VCL
specify VCL for the instance. You can create multiline strings by encasing them
in curly braces.
\-vcl+backend STRING
specifes VCL for the instance, and automatically inject backends definition
of currently defined servers.
\-errvcl
\-errvcl
tests that invalid VCL results in an error.
tests that invalid VCL results in an error.
\-vcl
specify VCL for the instance
\-stop
\-stop
stop the instance
stop
s
the instance
\-wait-stopped
\-wait-stopped
wait for the varnish child to stop
wait
s
for the varnish child to stop
\-wait-running
\-wait-running
wait for the varnish child to start
wait
s
for the varnish child to start
\-wait
\-wait
wait for varnish to stop
wait
s
for varnish to stop
\-expect
\-expect
set up a test for asserting variables against expected results.
set
s
up a test for asserting variables against expected results.
Syntax: "-expect <var> <comparison> <const>"
Syntax: "-expect <var> <comparison> <const>"
See tests supplied with Varnish distribution for usage examples for all these
See tests supplied with Varnish distribution for usage examples for all these
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment