[master] 636ec48 Add another request to this test-case, hoping to catch info about #1520

Poul-Henning Kamp phk at FreeBSD.org
Mon Sep 1 09:17:01 CEST 2014


commit 636ec484a6e24dafe4cf840c26a482c2e7b259e5
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