]> granicus.if.org Git - curl/commit
test 46: use different path lengths to get reliable sort order
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Jul 2012 13:25:54 +0000 (15:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Jul 2012 13:25:54 +0000 (15:25 +0200)
commit40cd996cc0638ea68b36cb1026c625dd56a53c70
treed9ecea65db35edd4844e13fab1199f97b71dd284
parent904346bf88d7970b941b80a5438934da333570dd
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