[4.0] fce798b Add another request to this test-case, hoping to catch info about #1520

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:25 CEST 2014


commit fce798b2bd1f6dd518b5e15bbee63f67be1712b8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 1 07:16:31 2014 +0000

    Add another request to this test-case, hoping to catch info about #1520

diff --git a/bin/varnishtest/tests/m00011.vtc b/bin/varnishtest/tests/m00011.vtc
index 9f17dfe..bd17059 100644
--- a/bin/varnishtest/tests/m00011.vtc
+++ b/bin/varnishtest/tests/m00011.vtc
@@ -4,6 +4,8 @@ varnishtest "Test std.ip"
 server s1 {
 	rxreq
 	txresp -body "1"
+	rxreq
+	txresp -body "22"
 } -start
 
 
@@ -21,8 +23,12 @@ varnish v1 -vcl+backend {
 client c1 {
 	txreq -url "/foo1"
 	rxresp
+	expect resp.bodylen == 1
 	expect resp.http.foo0 == "127.0.0.1"
 	expect resp.http.foo1 == "127.0.0.1"
 	expect resp.http.foo2 == "127.0.0.2"
 	expect resp.http.foo3 == "1.2.3.5"
+	txreq -url "/foo2"
+	rxresp
+	expect resp.bodylen == 2
 } -run



More information about the varnish-commit mailing list