r3116 - trunk/varnish-cache/bin/varnishtest/tests
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Wed Aug 20 11:58:11 CEST 2008
Author: tfheen
Date: 2008-08-20 11:58:11 +0200 (Wed, 20 Aug 2008)
New Revision: 3116
Modified:
trunk/varnish-cache/bin/varnishtest/tests/c00003.vtc
Log:
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).
Modified: trunk/varnish-cache/bin/varnishtest/tests/c00003.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/c00003.vtc 2008-08-20 08:58:20 UTC (rev 3115)
+++ trunk/varnish-cache/bin/varnishtest/tests/c00003.vtc 2008-08-20 09:58:11 UTC (rev 3116)
@@ -9,7 +9,9 @@
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
More information about the varnish-commit
mailing list