From: Daniel Stenberg Date: Mon, 9 Jul 2012 13:25:54 +0000 (+0200) Subject: test 46: use different path lengths to get reliable sort order X-Git-Tag: curl-7_27_0~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40cd996cc0638ea68b36cb1026c625dd56a53c70;p=thirdparty%2Fcurl.git 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 --- diff --git a/tests/data/test46 b/tests/data/test46 index 391ac8fed9..2f375fd175 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