From: Brian Gernhardt Date: Mon, 5 Aug 2013 15:59:24 +0000 (-0400) Subject: t5551: Remove header from curl cookie file X-Git-Tag: v1.8.5-rc0~170^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/580cf0a02ee15045a02c8ffefca646bbb0b1e953?ds=sidebyside t5551: Remove header from curl cookie file The URL included in the header appears to vary from curl version to curl version. Since we only care about the final few lines, only test them. However, make sure the blank line after the header is still included to make sure there are no extra cookie lines. Signed-off-by: Brian Gernhardt Signed-off-by: Junio C Hamano --- diff --git a/t/t5551-http-fetch.sh b/t/t5551-http-fetch.sh index 287d22b510..8196af19f6 100755 --- a/t/t5551-http-fetch.sh +++ b/t/t5551-http-fetch.sh @@ -191,9 +191,6 @@ cat >cookies.txt <expect_cookies.txt < cookies_tail.txt + test_cmp expect_cookies.txt cookies_tail.txt ' test -n "$GIT_TEST_LONG" && test_set_prereq EXPENSIVE