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

Add a test for the -f argument



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2920 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 5a3d57da
# $Id$
test "Check -f command line arg"
shell "echo 'backend foo { .host = \"127.0.0.1\"; .port = \"9080\"; }' > /tmp/_b00013.vcl"
varnish v1 -arg "-h simple_list -f /tmp/_b00013.vcl" -start
shell "rm -f /tmp/_b00013.vcl"
server s1 {
rxreq
expect req.url == "/foo"
txresp -body "foo"
} -start
client c1 {
txreq -url /foo
rxresp
}
client c1 -run
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