[4.0] ea100e0 Update tests so they compile at the very least

Federico G. Schwindt fgsch at lodoss.net
Thu Mar 13 10:24:23 CET 2014


commit ea100e0a8612811cb3d05cccdca2f609ade84b44
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Fri Jan 31 10:40:57 2014 +0000

    Update tests so they compile at the very least

diff --git a/bin/varnishtest/tests.disabled/r00693.vtc b/bin/varnishtest/tests.disabled/r00693.vtc
index bf94f6b..4947dbc 100644
--- a/bin/varnishtest/tests.disabled/r00693.vtc
+++ b/bin/varnishtest/tests.disabled/r00693.vtc
@@ -41,7 +41,7 @@ varnish v1 -arg "-p workspace_client=3072" -vcl+backend {
 	}
 	sub vcl_hash {
 		hash_data(req.url);
-		return (hash);
+		return (lookup);
 	}
 } -start
 
diff --git a/bin/varnishtest/tests.disabled/r00978.vtc b/bin/varnishtest/tests.disabled/r00978.vtc
index 8d52e60..e02be57 100644
--- a/bin/varnishtest/tests.disabled/r00978.vtc
+++ b/bin/varnishtest/tests.disabled/r00978.vtc
@@ -23,7 +23,7 @@ varnish v1 -vcl+backend {
 		}
 	}
 	sub vcl_backend_response {
-		if (req.url == "/") {
+		if (bereq.url == "/") {
 			set beresp.do_esi = true;
 		}
 		set beresp.do_stream = true;
diff --git a/bin/varnishtest/tests.disabled/t00001.vtc b/bin/varnishtest/tests.disabled/t00001.vtc
index 4250b1a..a94e956 100644
--- a/bin/varnishtest/tests.disabled/t00001.vtc
+++ b/bin/varnishtest/tests.disabled/t00001.vtc
@@ -23,10 +23,10 @@ server s1 {
 
 varnish v1 -vcl+backend {
 	sub vcl_backend_response {
-		if (req.url == "/foo") {
+		if (bereq.url == "/foo") {
 			set beresp.do_gzip = true;
 		}
-		if (req.url == "/barf") {
+		if (bereq.url == "/barf") {
 			set beresp.do_gunzip = true;
 		}
 		set beresp.do_stream = true;



More information about the varnish-commit mailing list