summaryrefslogtreecommitdiff
path: root/t/t5551-http-fetch-smart.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-11 22:16:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-07-11 22:16:47 (GMT)
commitd5df41cec6603a45860a980cfc7b8cfcf3e44f7a (patch)
tree1cb6d3a7bea374c4b354bdb9f77cca8f353a9d71 /t/t5551-http-fetch-smart.sh
parent32749c35a4ca4f5b2a876f799ede7343b12cc658 (diff)
parent8d45ad8c29dd509d1aefe9052124ef497c287476 (diff)
downloadgit-d5df41cec6603a45860a980cfc7b8cfcf3e44f7a.zip
git-d5df41cec6603a45860a980cfc7b8cfcf3e44f7a.tar.gz
git-d5df41cec6603a45860a980cfc7b8cfcf3e44f7a.tar.bz2
Merge branch 'jt/t5551-test-chunked'
Update smart-http test. * jt/t5551-test-chunked: t5551: test usage of chunked encoding explicitly
Diffstat (limited to 't/t5551-http-fetch-smart.sh')
-rwxr-xr-xt/t5551-http-fetch-smart.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t5551-http-fetch-smart.sh b/t/t5551-http-fetch-smart.sh
index cb11f13..e38e543 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' '