diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-19 13:18:08 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-19 13:18:08 -0800 |
commit | 2c804ffe77777f420c1d887ece8c472cf7b9d490 (patch) | |
tree | 8e30df330dbdbaffd6bd7df5323279c4ec49de3a | |
parent | Merge branch 'mk/t5562-do-not-reuse-output-files' (diff) | |
parent | t5562: do not depend on /dev/zero (diff) | |
download | tgif-2c804ffe77777f420c1d887ece8c472cf7b9d490.tar.xz |
Merge branch 'mk/t5562-no-input-to-too-large-an-input-test'
* mk/t5562-no-input-to-too-large-an-input-test:
t5562: do not depend on /dev/zero
Revert "t5562: replace /dev/zero with a pipe from generate_zero_bytes"
-rwxr-xr-x | t/t5562-http-backend-content-length.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5562-http-backend-content-length.sh b/t/t5562-http-backend-content-length.sh index f36c7f4f9d..f0f425b2cf 100755 --- a/t/t5562-http-backend-content-length.sh +++ b/t/t5562-http-backend-content-length.sh @@ -143,14 +143,14 @@ test_expect_success GZIP 'push gzipped empty' ' test_expect_success 'CONTENT_LENGTH overflow ssite_t' ' NOT_FIT_IN_SSIZE=$(ssize_b100dots) && - generate_zero_bytes infinity | env \ + env \ CONTENT_TYPE=application/x-git-upload-pack-request \ QUERY_STRING=/repo.git/git-upload-pack \ PATH_TRANSLATED="$PWD"/.git/git-upload-pack \ GIT_HTTP_EXPORT_ALL=TRUE \ REQUEST_METHOD=POST \ CONTENT_LENGTH="$NOT_FIT_IN_SSIZE" \ - git http-backend >/dev/null 2>err && + git http-backend </dev/null >/dev/null 2>err && grep "fatal:.*CONTENT_LENGTH" err ' |