[master] 6be44e1 We can do the last part of the test properly now.

Poul-Henning Kamp phk at varnish-cache.org
Wed Oct 30 11:19:09 CET 2013


commit 6be44e1ef4cc9fedbfec8738c159d8be71cfce9d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Oct 30 10:18:42 2013 +0000

    We can do the last part of the test properly now.

diff --git a/bin/varnishtest/tests/c00039.vtc b/bin/varnishtest/tests/c00039.vtc
index 9339b59..780bec2 100644
--- a/bin/varnishtest/tests/c00039.vtc
+++ b/bin/varnishtest/tests/c00039.vtc
@@ -45,7 +45,13 @@ client c1 {
 		-hdr "1...5: ..0....5\n ..0...." 
 	rxresp
 	expect resp.status == 200
-	# XXX: Varnish test does not allow us to test for the fact
-	# XXX: that the backend summarily closes on us.  Adding one
-	# XXX: char to the above test, should cause that.
+
+	txreq -url "/1" \
+		-hdr "1...5: ..0....5\n ..0....5....0....5....0" \
+		-hdr "1...5: ..0....5\n ..0....5....0....5....0" \
+		-hdr "1...5: ..0....5\n ..0....5....0....5....0" \
+		-hdr "1...5: ..0....5\n ..0....5....0....5....0" \
+		-hdr "1...5: ..0....5\n ..0....5....0....5....0" \
+		-hdr "1...5: ..0....5\n ..0....5" 
+	expect_close
 } -run



More information about the varnish-commit mailing list