Skip to content

Commit d5df41c

Browse files
committed
Merge branch 'jt/t5551-test-chunked'
Update smart-http test. * jt/t5551-test-chunked: t5551: test usage of chunked encoding explicitly
2 parents 32749c3 + 8d45ad8 commit d5df41c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

t/t5551-http-fetch-smart.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,10 @@ test_expect_success CMDLINE_LIMIT \
301301
)
302302
'
303303

304-
test_expect_success 'large fetch-pack requests can be split across POSTs' '
304+
test_expect_success 'large fetch-pack requests can be sent using chunked encoding' '
305305
GIT_TRACE_CURL=true git -c http.postbuffer=65536 \
306306
clone --bare "$HTTPD_URL/smart/repo.git" split.git 2>err &&
307-
grep "^=> Send header: POST" err >posts &&
308-
test_line_count = 2 posts
307+
grep "^=> Send header: Transfer-Encoding: chunked" err
309308
'
310309

311310
test_expect_success 'test allowreachablesha1inwant' '

0 commit comments

Comments
 (0)