[master] 3dd4db765 Check obj.uncacheable says the right thing.

Poul-Henning Kamp phk at FreeBSD.org
Mon May 17 09:05:06 UTC 2021


commit 3dd4db7655cc5a4105f1f8ea2cc2e25da9e43728
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 17 09:03:50 2021 +0000

    Check obj.uncacheable says the right thing.
    
    Spotted by: @dridi

diff --git a/bin/varnishtest/tests/c00011.vtc b/bin/varnishtest/tests/c00011.vtc
index 907355f2f..b183f0dc2 100644
--- a/bin/varnishtest/tests/c00011.vtc
+++ b/bin/varnishtest/tests/c00011.vtc
@@ -38,6 +38,7 @@ client c1 {
 	expect resp.http.o_ttl <= 120
 	expect resp.http.o_grace == "10.000"
 	expect resp.http.o_keep == "0.000"
+	expect resp.http.o_uncacheable == "true"
 
 	txreq -url "/foo"
 	rxresp
@@ -50,6 +51,7 @@ client c1 {
 	expect resp.http.o_ttl <= 120
 	expect resp.http.o_grace == "10.000"
 	expect resp.http.o_keep == "0.000"
+	expect resp.http.o_uncacheable == "true"
 }
 
 client c1 -run
diff --git a/bin/varnishtest/tests/c00012.vtc b/bin/varnishtest/tests/c00012.vtc
index 9f64f6883..67c6b2a66 100644
--- a/bin/varnishtest/tests/c00012.vtc
+++ b/bin/varnishtest/tests/c00012.vtc
@@ -34,6 +34,7 @@ client c1 {
 	expect resp.http.o_ttl > -0.5
 	expect resp.http.o_grace == "0.000"
 	expect resp.http.o_keep == "0.000"
+	expect resp.http.o_uncacheable == "true"
 
 	txreq -url "/foo"
 	rxresp
@@ -46,6 +47,7 @@ client c1 {
 	expect resp.http.o_ttl > -0.5
 	expect resp.http.o_grace == "0.000"
 	expect resp.http.o_keep == "0.000"
+	expect resp.http.o_uncacheable == "true"
 }
 
 client c1 -run


More information about the varnish-commit mailing list