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
79bfe18c
Commit
79bfe18c
authored
Oct 13, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a bit of coverage for varnishdm
parent
cf00dd2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
u00012.vtc
bin/varnishtest/tests/u00012.vtc
+10
-1
No files found.
bin/varnishtest/tests/u00012.vtc
View file @
79bfe18c
...
...
@@ -14,7 +14,7 @@ client c1 {
varnish v1 -vsl_catchup
process p1 -log {varnishadm -p -n ${v1_name}} -start
process p1 -log {varnishadm -
t 12 -
p -n ${v1_name}} -start
# expect a full status line in pass mode (no banner)
process p1 -write "ping\r"
...
...
@@ -28,3 +28,12 @@ process p1 -write "vcl.show vcl1\r"
process p1 -expect-text 0 0 "backend s1"
process p1 -screen_dump -write "\x04" -wait
process p1 -log {varnishadm -t foobar 2>&1} -expect-exit 2 -run
process p1 -expect-text 0 0 "-t: Invalid argument:"
process p1 -log {varnishadm -Q 2>&1} -expect-exit 1 -run
process p1 -expect-text 0 0 "Usage: varnishadm"
process p2 -log {varnishadm -h 2>&1} -expect-exit 0 -run
process p2 -expect-text 0 0 "Usage: varnishadm"
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