[master] 88fd1b2 Adjust testcases for changes struct http size

Poul-Henning Kamp phk at varnish-cache.org
Tue Feb 14 10:55:16 CET 2012


commit 88fd1b2d4ca1ba8d70235339b5a9ca2d873ceb0b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Feb 14 09:55:00 2012 +0000

    Adjust testcases for changes struct http size

diff --git a/bin/varnishtest/tests/c00044.vtc b/bin/varnishtest/tests/c00044.vtc
index 943592f..f72d2e1 100644
--- a/bin/varnishtest/tests/c00044.vtc
+++ b/bin/varnishtest/tests/c00044.vtc
@@ -2,17 +2,17 @@ varnishtest	"Object/LRU/Stevedores"
 
 server s1 {
 	rxreq
-	txresp -bodylen 1048100
+	txresp -bodylen 1048092
 	rxreq
-	txresp -bodylen 1048101
+	txresp -bodylen 1048093
 	rxreq
-	txresp -bodylen 1048102
+	txresp -bodylen 1048094
 
 	rxreq
-	txresp -bodylen 1048103
+	txresp -bodylen 1048095
 
 	rxreq
-	txresp -bodylen 1048104
+	txresp -bodylen 1048096
 } -start
 
 varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
@@ -26,7 +26,7 @@ client c1 {
 	txreq -url /foo
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048100
+	expect resp.bodylen == 1048092
 } -run
 
 varnish v1 -expect SMA.Transient.g_bytes == 0
@@ -41,7 +41,7 @@ client c1 {
 	txreq -url /bar
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048101
+	expect resp.bodylen == 1048093
 } -run
 
 varnish v1 -expect SMA.Transient.g_bytes == 0
@@ -56,7 +56,7 @@ client c1 {
 	txreq -url /burp
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048102
+	expect resp.bodylen == 1048094
 } -run
 
 varnish v1 -expect SMA.Transient.g_bytes == 0
@@ -71,7 +71,7 @@ client c1 {
 	txreq -url /foo1
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048103
+	expect resp.bodylen == 1048095
 } -run
 
 varnish v1 -expect n_lru_nuked == 1
@@ -80,7 +80,7 @@ client c1 {
 	txreq -url /foo
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048104
+	expect resp.bodylen == 1048096
 } -run
 
 varnish v1 -expect n_lru_nuked == 2
diff --git a/bin/varnishtest/tests/c00045.vtc b/bin/varnishtest/tests/c00045.vtc
index 419381c..683c443 100644
--- a/bin/varnishtest/tests/c00045.vtc
+++ b/bin/varnishtest/tests/c00045.vtc
@@ -2,11 +2,11 @@ varnishtest	"Object/LRU/Stevedores with hinting"
 
 server s1 {
 	rxreq
-	txresp -bodylen 1048100
+	txresp -bodylen 1048092
 	rxreq
-	txresp -bodylen 1048101
+	txresp -bodylen 1048093
 	rxreq
-	txresp -bodylen 1048102
+	txresp -bodylen 1048094
 } -start
 
 varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
@@ -20,7 +20,7 @@ client c1 {
 	txreq -url /foo
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048100
+	expect resp.bodylen == 1048092
 } -run
 
 varnish v1 -expect SMA.Transient.g_bytes == 0
@@ -35,7 +35,7 @@ client c1 {
 	txreq -url /bar
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048101
+	expect resp.bodylen == 1048093
 } -run
 
 varnish v1 -expect n_lru_nuked == 1
@@ -51,7 +51,7 @@ client c1 {
 	txreq -url /foo
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048102
+	expect resp.bodylen == 1048094
 } -run
 
 varnish v1 -expect n_lru_nuked == 2



More information about the varnish-commit mailing list