Commit 0def0b6a authored by Geoff Simmons's avatar Geoff Simmons

Verify outputs of varnishncsa -c when UDS addresses are in use.

parent b8496833
varnishtest "varnishncsa outputs when UDS addresses are in use"
# The -c %h formatter gets its value from ReqStart, which now may be
# 0.0.0.0 for a UDS address.
server s1 {
rxreq
txresp
} -start
varnish v1 -arg "-a ${tmpdir}/v1.sock" -vcl+backend {} -start
client c1 -connect "${tmpdir}/v1.sock" {
txreq
rxresp
} -run
shell -expect "0.0.0.0" {
varnishncsa -n ${v1_name} -d -c -F "%h"
}
shell -expect "http://localhost/" {
varnishncsa -n ${v1_name} -d -c -F "%r"
}
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