Merge branch 'jt/t5551-test-chunked' into maint

Update smart-http test.

* jt/t5551-test-chunked:
  t5551: test usage of chunked encoding explicitly
This commit is contained in:
Junio C Hamano 2019-07-29 12:38:13 -07:00
Родитель bcb30d718a 8d45ad8c29
Коммит ca9eba84d1
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -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' '