diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2018-09-17 22:46:28 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-24 08:35:06 -0700 |
commit | 29e8dc50adeca26b4f60989fc1227f987de0426a (patch) | |
tree | 7d00be3ac5d845ef4ae563a78c338293f50a6e9a /t/t9154-git-svn-fancy-glob.sh | |
parent | t5551: move setup code inside test_expect blocks (diff) | |
download | tgif-29e8dc50adeca26b4f60989fc1227f987de0426a.tar.xz |
t5551: compare sorted cookies files
In t5551 we check that we save cookies correctly to a file when
http.cookiefile and http.savecookies are set. To do so we create an
expect file that expects the cookies in a certain order.
However after e2ef8d6fa ("cookies: support creation-time attribute for
cookies", 2018-08-28) in curl.git (released in curl 7.61.1) that order
changed.
We document the file format as "Netscape/Mozilla cookie file
format (see curl(1))", so any format produced by libcurl should be
fine here. Sort the files, to be agnostic to the order of the
cookies, and make the test pass with both curl versions > 7.61.1 and
earlier curl versions.
Reported-by: Todd Zullinger <tmz@pobox.com>
Helped-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9154-git-svn-fancy-glob.sh')
0 files changed, 0 insertions, 0 deletions