git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2784
d4fa192b-c00b-0410-8231-
f00ffab90ce4
--- /dev/null
+# Test that we get anything through at all
+#
+# $Id$
+
+test "Check that we start if one listen address works"
+
+varnish v1 -accept ":9081 127.0.0.2:9082" -arg "-b 127.0.0.1:9080" -start
+
+server s1 {
+ rxreq
+ txresp -hdr "Connection: close" -body "012345\n"
+} -start
+
+client c1 {
+ txreq -url "/"
+ rxresp
+ expect resp.status == 200
+} -run
+
+server s1 -wait
+
+varnish v1 -stop
AN(vsb);
vsb_printf(vsb, "cd ../varnishd &&");
vsb_printf(vsb, " ./varnishd -d -d -n %s", v->name);
- vsb_printf(vsb, " -a %s -T %s", v->accept, v->telnet);
+ vsb_printf(vsb, " -a '%s' -T %s", v->accept, v->telnet);
vsb_printf(vsb, " %s", v->args);
vsb_finish(vsb);
AZ(vsb_overflowed(vsb));