]> err.no Git - varnish/commitdiff
Use invalid address in binding test
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 20 Aug 2008 09:58:11 +0000 (09:58 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 20 Aug 2008 09:58:11 +0000 (09:58 +0000)
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

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

index 0ef12a8cd41786c74b5a0e47706db43eb6526365..7df571a952d8d3b6bfc0171247204f07db33e078 100644 (file)
@@ -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