[4.1] 32af514 Add explict expect for 206 status
Lasse Karstensen
lkarsten at varnish-software.com
Thu Jan 14 15:15:00 CET 2016
commit 32af514e066cdf98bfdf7b7756a620314557df1e
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