diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-07-09 15:25:54 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-07-09 15:25:54 +0200 |
commit | 40cd996cc0638ea68b36cb1026c625dd56a53c70 (patch) | |
tree | d9ecea65db35edd4844e13fab1199f97b71dd284 | |
parent | 904346bf88d7970b941b80a5438934da333570dd (diff) |
test 46: use different path lengths to get reliable sort order
Since the order of the cookies is sorted by the length of the paths,
having them on the same path length will make the test depend on what
order the qsort() implementation will put them. As seen in the
windows/msys output posted by Guenter in this posting:
http://curl.haxx.se/mail/lib-2012-07/0105.html
-rw-r--r-- | tests/data/test46 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/data/test46 b/tests/data/test46 index 391ac8fed..2f375fd17 100644 --- a/tests/data/test46 +++ b/tests/data/test46 @@ -52,8 +52,8 @@ TZ=GMT www.fake.come FALSE / FALSE 1022144953 cookiecliente si www.loser.com FALSE / FALSE 1139150993 UID 99 %HOSTIP FALSE / FALSE 1439150993 mooo indeed -#HttpOnly_%HOSTIP FALSE / FALSE 1439150993 mooo2 indeed2 -%HOSTIP FALSE / FALSE 0 empty +#HttpOnly_%HOSTIP FALSE /w FALSE 1439150993 mooo2 indeed2 +%HOSTIP FALSE /wa FALSE 0 empty </file> </client> @@ -77,8 +77,8 @@ Cookie: empty=; mooo2=indeed2; mooo=indeed www.fake.come FALSE / FALSE 1022144953 cookiecliente si www.loser.com FALSE / FALSE 1139150993 UID 99 %HOSTIP FALSE / FALSE 1439150993 mooo indeed -#HttpOnly_%HOSTIP FALSE / FALSE 1439150993 mooo2 indeed2 -%HOSTIP FALSE / FALSE 0 empty +#HttpOnly_%HOSTIP FALSE /w FALSE 1439150993 mooo2 indeed2 +%HOSTIP FALSE /wa FALSE 0 empty %HOSTIP FALSE / FALSE 2054030187 ckyPersistent permanent %HOSTIP FALSE / FALSE 0 ckySession temporary %HOSTIP FALSE / FALSE 0 ASPSESSIONIDQGGQQSJJ GKNBDIFAAOFDPDAIEAKDIBKE |