r4559 - trunk/varnish-cache/bin/varnishtest/tests
phk at projects.linpro.no
phk at projects.linpro.no
Sat Feb 13 09:31:04 CET 2010
Author: phk
Date: 2010-02-13 09:31:04 +0100 (Sat, 13 Feb 2010)
New Revision: 4559
Modified:
trunk/varnish-cache/bin/varnishtest/tests/v00017.vtc
Log:
Change from a non-resolving to an illegal DNS name, to avoid
spurious test-failures if peoples DNS servers lie to them.
Fixes #356
Modified: trunk/varnish-cache/bin/varnishtest/tests/v00017.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/v00017.vtc 2010-02-12 12:49:57 UTC (rev 4558)
+++ trunk/varnish-cache/bin/varnishtest/tests/v00017.vtc 2010-02-13 08:31:04 UTC (rev 4559)
@@ -34,7 +34,7 @@
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
- acl a { "en.lille.nisse.rejste."; }
+ acl a { "...com"; }
sub vcl_recv { if (client.ip ~ a) { pass; } }
}
@@ -60,8 +60,8 @@
backend b { .host = "127.0.0.1"; }
acl a {
! "10.1.3";
- ("en.lille.nisse.rejste." / 22);
- (!"en.lille.nisse.rejste.");
+ ("...com" / 22);
+ (!"...com");
}
sub vcl_recv { if (client.ip ~ a) { pass; } }
}
More information about the varnish-commit
mailing list