[master] 4898f68 Fix test

Federico G. Schwindt fgsch at lodoss.net
Mon Feb 16 23:31:05 CET 2015


commit 4898f68733cf0bc90d9e3aeecb342932d6f238f5
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Feb 16 22:29:43 2015 +0000

    Fix test
    
    Spotted by xavier on irc.

diff --git a/bin/varnishtest/tests/r00962.vtc b/bin/varnishtest/tests/r00962.vtc
index 6d750cb..cc5168c 100644
--- a/bin/varnishtest/tests/r00962.vtc
+++ b/bin/varnishtest/tests/r00962.vtc
@@ -1,7 +1,7 @@
 varnishtest "Test address remapping"
 
 # VM-remapping is to random on OSX
-feature	not-OSX
+feature	!OSX
 
 server s1 {
 	rxreq
@@ -16,7 +16,7 @@ varnish v1 \
 	-arg "-sdeprecated_persistent,${tmpdir}/_.per2,10m" \
 	-vcl+backend {
 	sub vcl_backend_response {
-		set beresp.storage = "s0";
+		set beresp.storage_hint = "s0";
 	}
 } -start
 
@@ -53,7 +53,7 @@ client c1 -connect ${v2_sock} {
 	rxresp
 	expect resp.msg != "Persistent Object Not Found"
 	expect resp.status == 200
-	expect resp.http.X-Varnish == "1001"
+	expect resp.http.X-Varnish == "1001 1002"
 } -run
 
 # shell "rm -f /tmp/__v1/_.per"



More information about the varnish-commit mailing list