Commit 40cd996c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent 904346bf
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -52,8 +52,8 @@ TZ=GMT
www.fake.come	FALSE	/	FALSE	1022144953	cookiecliente	si
www.fake.come	FALSE	/	FALSE	1022144953	cookiecliente	si
www.loser.com	FALSE	/	FALSE	1139150993	UID	99
www.loser.com	FALSE	/	FALSE	1139150993	UID	99
%HOSTIP	FALSE	/	FALSE	1439150993	mooo	indeed
%HOSTIP	FALSE	/	FALSE	1439150993	mooo	indeed
#HttpOnly_%HOSTIP	FALSE	/	FALSE	1439150993	mooo2	indeed2
#HttpOnly_%HOSTIP	FALSE	/w	FALSE	1439150993	mooo2	indeed2
%HOSTIP	FALSE	/	FALSE	0	empty	
%HOSTIP	FALSE	/wa	FALSE	0	empty	
</file>
</file>
</client>
</client>


@@ -77,8 +77,8 @@ Cookie: empty=; mooo2=indeed2; mooo=indeed
www.fake.come	FALSE	/	FALSE	1022144953	cookiecliente	si
www.fake.come	FALSE	/	FALSE	1022144953	cookiecliente	si
www.loser.com	FALSE	/	FALSE	1139150993	UID	99
www.loser.com	FALSE	/	FALSE	1139150993	UID	99
%HOSTIP	FALSE	/	FALSE	1439150993	mooo	indeed
%HOSTIP	FALSE	/	FALSE	1439150993	mooo	indeed
#HttpOnly_%HOSTIP	FALSE	/	FALSE	1439150993	mooo2	indeed2
#HttpOnly_%HOSTIP	FALSE	/w	FALSE	1439150993	mooo2	indeed2
%HOSTIP	FALSE	/	FALSE	0	empty	
%HOSTIP	FALSE	/wa	FALSE	0	empty	
%HOSTIP	FALSE	/	FALSE	2054030187	ckyPersistent	permanent
%HOSTIP	FALSE	/	FALSE	2054030187	ckyPersistent	permanent
%HOSTIP	FALSE	/	FALSE	0	ckySession	temporary
%HOSTIP	FALSE	/	FALSE	0	ckySession	temporary
%HOSTIP	FALSE	/	FALSE	0	ASPSESSIONIDQGGQQSJJ	GKNBDIFAAOFDPDAIEAKDIBKE
%HOSTIP	FALSE	/	FALSE	0	ASPSESSIONIDQGGQQSJJ	GKNBDIFAAOFDPDAIEAKDIBKE