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
f8853446
Commit
f8853446
authored
Feb 26, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use different workdirs to avoid old SHMfiles confusing varnishadm
parent
7c43a110
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
a00009.vtc
bin/varnishtest/tests/a00009.vtc
+10
-10
No files found.
bin/varnishtest/tests/a00009.vtc
View file @
f8853446
...
...
@@ -36,7 +36,7 @@ shell -err -expect {Neither -b nor -f given} { varnishd -n ${tmpdir}/v0 }
# Test -F mode with no VCL loaded
process p1 "exec varnishd -n ${tmpdir}/v
0
-F -f '' -a :0 -l2m,3m" -log -start
process p1 "exec varnishd -n ${tmpdir}/v
1
-F -f '' -a :0 -l2m,3m" -log -start
delay 2
...
...
@@ -50,16 +50,16 @@ shell {
}
shell -expect {VCL compiled.} {
varnishadm -n ${tmpdir}/v
0
vcl.load vcl1 ${tmpdir}/vcl
varnishadm -n ${tmpdir}/v
1
vcl.load vcl1 ${tmpdir}/vcl
}
shell -expect {active auto/warm - vcl1} {
varnishadm -n ${tmpdir}/v
0
vcl.list
varnishadm -n ${tmpdir}/v
1
vcl.list
}
shell {varnishadm -n ${tmpdir}/v
0
start}
shell {varnishadm -n ${tmpdir}/v
1
start}
shell {varnishadm -n ${tmpdir}/v
0
debug.listen_address}
shell {varnishadm -n ${tmpdir}/v
1
debug.listen_address}
process p1 -stop -wait
...
...
@@ -82,13 +82,13 @@ shell {
}
process p2 {
exec varnishd -n ${tmpdir}/v
0
-F -a :0 -l2m,3m -f ${tmpdir}/ok1 \
exec varnishd -n ${tmpdir}/v
2
-F -a :0 -l2m,3m -f ${tmpdir}/ok1 \
-f ${tmpdir}/ok2
} -log -start
delay 2
shell -match "available.*boot0" {varnishadm -n ${tmpdir}/v
0
vcl.list}
shell -match "active.*boot" {varnishadm -n ${tmpdir}/v
0
vcl.list}
shell -match "available.*boot0" {varnishadm -n ${tmpdir}/v
2
vcl.list}
shell -match "active.*boot" {varnishadm -n ${tmpdir}/v
2
vcl.list}
process p2 -stop -wait
...
...
@@ -108,11 +108,11 @@ shell -err {
# XXX: two conflicting features, probably not what we want
process p3 {
exec varnishd -n ${tmpdir}/v
0
-F -a :0 -l2m,3m -f ${tmpdir}/ok1 \
exec varnishd -n ${tmpdir}/v
3
-F -a :0 -l2m,3m -f ${tmpdir}/ok1 \
-f '' -f ${tmpdir}/ok2
} -log -start
delay 2
shell -match "stopped" {varnishadm -n ${tmpdir}/v
0
status}
shell -match "stopped" {varnishadm -n ${tmpdir}/v
3
status}
process p3 -stop -wait
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