From: tfheen Date: Wed, 20 Aug 2008 09:58:11 +0000 (+0000) Subject: Use invalid address in binding test X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f825725e3e3d01f789363262975d8c6838241bb;p=varnish Use invalid address in binding test IANA has reserved the 198.18.0.0/24 network for Network Interconnect Device Benchmark Testing which vaguely fits what we are doing. Use that instead of 127.0.0.2 since the latter works fine to bind to on Linux (at least). git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3116 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/c00003.vtc b/varnish-cache/bin/varnishtest/tests/c00003.vtc index 0ef12a8c..7df571a9 100644 --- a/varnish-cache/bin/varnishtest/tests/c00003.vtc +++ b/varnish-cache/bin/varnishtest/tests/c00003.vtc @@ -9,7 +9,9 @@ server s1 { txresp -hdr "Connection: close" -body "012345\n" } -start -varnish v1 -cliok "param.set listen_address 127.0.0.2:9082" +# 198.18.1.1 is IANA-reserved for Network Interconnect Device +# Benchmark Testing +varnish v1 -cliok "param.set listen_address 198.18.1.1:9082" varnish v1 -vcl+backend {} -clierr 300 start varnish v1 -cliok "param.set listen_address :9081,127.0.0.2:9082" varnish v1 -start