[master] 5897f401f catflap test: rename for clarity

Nils Goroll nils.goroll at uplex.de
Tue Dec 14 07:46:05 UTC 2021


commit 5897f401f22c335e9484fb1971287c7139ea6430
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Dec 14 08:19:11 2021 +0100

    catflap test: rename for clarity

diff --git a/bin/varnishtest/tests/m00051.vtc b/bin/varnishtest/tests/m00051.vtc
index cc2e87eb7..5be0b4d79 100644
--- a/bin/varnishtest/tests/m00051.vtc
+++ b/bin/varnishtest/tests/m00051.vtc
@@ -14,7 +14,7 @@ varnish v1 -vcl {
 			debug.catflap(first);
 		} else if (req.http.get == "last") {
 			debug.catflap(last);
-		} else if (req.http.novcf) {
+		} else if (req.http.novcfpass) {
 			vtc.workspace_reserve(client, -1);
 			return (pass);
 		} else if (req.http.rollback) {
@@ -28,7 +28,7 @@ varnish v1 -vcl {
 	}
 
 	sub vcl_backend_error {
-		if (bereq.http.novcf) {
+		if (bereq.http.novcfpass) {
 			set beresp.status = 206;
 			return (deliver);
 		}
@@ -45,7 +45,7 @@ varnish v1 -vcl {
 		if (req.http.restart) {
 			unset req.http.restart;
 			unset req.http.id;
-			set req.http.novcf = "yes";
+			set req.http.novcfpass = "yes";
 			return (restart);
 		}
 	}
@@ -55,7 +55,7 @@ client c1 {
 	txreq -hdr "id: 1"
 	rxresp
 	expect resp.status == 200
-	txreq -hdr "novcf: yes"
+	txreq -hdr "novcfpass: yes"
 	rxresp
 	expect resp.status == 206
 	txreq -hdr "id: 2"
@@ -67,7 +67,7 @@ client c1 {
 	txreq -hdr "id: 3"
 	rxresp
 	expect resp.status == 200
-	txreq -hdr "novcf: yes"
+	txreq -hdr "novcfpass: yes"
 	rxresp
 	expect resp.status == 206
 
@@ -81,7 +81,7 @@ client c1 {
 	rxresp
 	expect resp.status == 200
 	expect resp.http.id == "3"
-	txreq -hdr "novcf: yes"
+	txreq -hdr "novcfpass: yes"
 	rxresp
 	expect resp.status == 206
 
@@ -89,7 +89,7 @@ client c1 {
 	rxresp
 	expect resp.status == 200
 	expect resp.http.id == "1"
-	txreq -hdr "novcf: yes"
+	txreq -hdr "novcfpass: yes"
 	rxresp
 	expect resp.status == 206
 } -run


More information about the varnish-commit mailing list