]> err.no Git - varnish/commitdiff
Fix up port test
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 13 Oct 2008 09:21:06 +0000 (09:21 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 13 Oct 2008 09:21:06 +0000 (09:21 +0000)
It seems like glibc's getaddrinfo is entirely happy to accept 70000 as
a valid port, so use something that's not a valid service name so make
check still works.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3293 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/tests/v00002.vtc

index 78a46fb52d20d3d7da55596c255b7060d6a142c1..6863f627532d778f8ca9e8dda6df46da96360315 100644 (file)
@@ -122,7 +122,7 @@ varnish v1 -badvcl {
 }
 
 varnish v1 -badvcl {
-       backend b1 { .host = "127.0.0.1"; .port = "70000"; }
+       backend b1 { .host = "127.0.0.1"; .port = "////"; }
 }
 
 varnish v1 -badvcl {