]> granicus.if.org Git - curl/commitdiff
cookies with same path length might get sorted in different order when
authorYang Tse <yangsita@gmail.com>
Wed, 3 Feb 2010 01:53:47 +0000 (01:53 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 3 Feb 2010 01:53:47 +0000 (01:53 +0000)
using different qsort implementations. In order to make this test give
same results on different systems, paths now have different lengths.

tests/data/test8

index 9b86593b1c5d74bddf9d6a72b00c70c2730dd3e3..4a6e004553599e7f265c6c8a895c45230b0b76ea 100644 (file)
@@ -37,7 +37,7 @@ Content-Type: text/html
 Funny-head: yesyes
 Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
 Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
-Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
+Set-Cookie: partmatch=present; domain=.0.0.1; path=/w;
 Set-Cookie: duplicate=test; domain=.0.0.1; domain=.0.0.1; path=/donkey;
 Set-Cookie: cookie=yes; path=/we;
 Set-Cookie: cookie=perhaps; path=/we/want;