[4.0] 30a8ad0 A couple more corner cases
Lasse Karstensen
lkarsten at varnish-software.com
Mon Sep 22 16:38:21 CEST 2014
commit 30a8ad0a3265f4d02444ebceafab0c2088916a47
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jun 24 10:44:15 2014 +0000
A couple more corner cases
diff --git a/bin/varnishtest/tests/m00014.vtc b/bin/varnishtest/tests/m00014.vtc
index 260280f..28c4c79 100644
--- a/bin/varnishtest/tests/m00014.vtc
+++ b/bin/varnishtest/tests/m00014.vtc
@@ -1,6 +1,6 @@
varnishtest "Test std.querysort"
-server s1 -repeat 5 {
+server s1 -repeat 6 {
rxreq
txresp
} -start
@@ -18,18 +18,30 @@ client c1 {
rxresp
expect resp.http.url == "/foo/bar?b=0&c=5&p=0&t=0"
+ delay .1
+
txreq -url "/foo/bar?coa=0&co=0"
rxresp
expect resp.http.url == "/foo/bar?co=0&coa=0"
+ delay .1
+
txreq -url "/foo/bar?a=0&&&&&"
rxresp
expect resp.http.url == "/foo/bar?a=0"
+ txreq -url "/foo/bar?&a=0&&&&&z&w&x&"
+ rxresp
+ expect resp.http.url == "/foo/bar?a=0&w&x&z"
+
+ delay .1
+
txreq -url "/foo/bar?&"
rxresp
expect resp.http.url == "/foo/bar?"
+ delay .1
+
txreq -url "/foo/bar"
rxresp
expect resp.http.url == "/foo/bar"
More information about the varnish-commit
mailing list