Commit af8cc5b9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a testcase to see that PID file locking works

parent c56b6ee1
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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment