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
af8cc5b9
Commit
af8cc5b9
authored
Mar 11, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a testcase to see that PID file locking works
parent
c56b6ee1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
b00045.vtc
bin/varnishtest/tests/b00045.vtc
+18
-0
No files found.
bin/varnishtest/tests/b00045.vtc
0 → 100644
View file @
af8cc5b9
varnishtest "Check Pid file locking"
server s1 {
rxreq
send "HTTP/1.1 200 OK\nContent-Length: dupa"
send_n 15865 "\n"
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq
rxresp
} -run
delay .2
shell_err 0x200 "${varnishd} -P ${tmpdir}/v1/varnishd.pid -b 127.0.0.1:80 -a :0 -n ${tmpdir} > /dev/null 2>&1"
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