diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-07-11 15:16:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-11 15:16:47 -0700 |
commit | d5df41cec6603a45860a980cfc7b8cfcf3e44f7a (patch) | |
tree | 1cb6d3a7bea374c4b354bdb9f77cca8f353a9d71 | |
parent | Merge branch 'js/mingw-gcc-stack-protect' (diff) | |
parent | t5551: test usage of chunked encoding explicitly (diff) | |
download | tgif-d5df41cec6603a45860a980cfc7b8cfcf3e44f7a.tar.xz |
Merge branch 'jt/t5551-test-chunked'
Update smart-http test.
* jt/t5551-test-chunked:
t5551: test usage of chunked encoding explicitly
-rwxr-xr-x | t/t5551-http-fetch-smart.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t5551-http-fetch-smart.sh b/t/t5551-http-fetch-smart.sh index cb11f13d6d..e38e543867 100755 --- a/t/t5551-http-fetch-smart.sh +++ b/t/t5551-http-fetch-smart.sh @@ -301,11 +301,10 @@ test_expect_success CMDLINE_LIMIT \ ) ' -test_expect_success 'large fetch-pack requests can be split across POSTs' ' +test_expect_success 'large fetch-pack requests can be sent using chunked encoding' ' GIT_TRACE_CURL=true git -c http.postbuffer=65536 \ clone --bare "$HTTPD_URL/smart/repo.git" split.git 2>err && - grep "^=> Send header: POST" err >posts && - test_line_count = 2 posts + grep "^=> Send header: Transfer-Encoding: chunked" err ' test_expect_success 'test allowreachablesha1inwant' ' |