summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-29 19:38:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-07-29 19:38:13 (GMT)
commitca9eba84d1dbae988b5e6f85748230130b4e37ba (patch)
tree2d83c1b15a8fa6df6c4e28df0ce5c943dcafc40f /t
parentbcb30d718a1bd2d3c6615d48e80816d1b50ee18f (diff)
parent8d45ad8c29dd509d1aefe9052124ef497c287476 (diff)
downloadgit-ca9eba84d1dbae988b5e6f85748230130b4e37ba.zip
git-ca9eba84d1dbae988b5e6f85748230130b4e37ba.tar.gz
git-ca9eba84d1dbae988b5e6f85748230130b4e37ba.tar.bz2
Merge branch 'jt/t5551-test-chunked' into maint
Update smart-http test. * jt/t5551-test-chunked: t5551: test usage of chunked encoding explicitly
Diffstat (limited to 't')
-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 ac74626..aed2d9b 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' '