[master] eef6eb6 Add explict expect for 206 status

Poul-Henning Kamp phk at FreeBSD.org
Mon Oct 5 14:32:55 CEST 2015


commit eef6eb6828c3eb7c40741a3c372ce72c08d9d35f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Oct 5 12:25:37 2015 +0000

    Add explict expect for 206 status

diff --git a/bin/varnishtest/tests/g00005.vtc b/bin/varnishtest/tests/g00005.vtc
index bc47a5d..7cb2664 100644
--- a/bin/varnishtest/tests/g00005.vtc
+++ b/bin/varnishtest/tests/g00005.vtc
@@ -27,6 +27,7 @@ client c1 {
 
 	txreq -hdr "Range: bytes=3-5"
 	rxresp
+	expect resp.status == 206
 	expect resp.http.content-encoding == "<undef>"
 	expect resp.bodylen == "3"
 	expect resp.body == "BAR"



More information about the varnish-commit mailing list