[master] 78cbdea Fix test-case
Poul-Henning Kamp
phk at FreeBSD.org
Fri Mar 28 10:03:25 CET 2014
commit 78cbdeac8765f1f6e82345bf58d25fd93b1ce918
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Mar 28 08:57:42 2014 +0000
Fix test-case
diff --git a/bin/varnishtest/tests/v00017.vtc b/bin/varnishtest/tests/v00017.vtc
index 49eec50..b0d6c20 100644
--- a/bin/varnishtest/tests/v00017.vtc
+++ b/bin/varnishtest/tests/v00017.vtc
@@ -64,7 +64,7 @@ varnish v1 -vcl {
sub vcl_recv { if (client.ip ~ a) { return(pass); } }
}
-varnish v1 -vcl {
+varnish v1 -errvcl {'client.ip': Not available in method 'vcl_backend_response'} {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { if (client.ip == "127.0.0.1") { return(pass); } }
sub vcl_backend_response { if (client.ip != "127.0.0.1") { return(retry); } }
More information about the varnish-commit
mailing list