From 40cd996cc0638ea68b36cb1026c625dd56a53c70 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 9 Jul 2012 15:25:54 +0200 Subject: 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 --- tests/data/test46 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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 @@ -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 -- cgit v1.2.3