In the CGI scripts which emulate a connection being prematurely terminated, it doesn't make sense for there to be a trailing newline after the simulated connection cut. Remove these newlines. Signed-off-by: Denton Liu <liu.denton@xxxxxxxxx> --- t/lib-httpd/incomplete-body-upload-pack-v2-http.sh | 2 +- t/lib-httpd/incomplete-length-upload-pack-v2-http.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/lib-httpd/incomplete-body-upload-pack-v2-http.sh b/t/lib-httpd/incomplete-body-upload-pack-v2-http.sh index 2f5ed9fcf6..90e73ef8d5 100644 --- a/t/lib-httpd/incomplete-body-upload-pack-v2-http.sh +++ b/t/lib-httpd/incomplete-body-upload-pack-v2-http.sh @@ -1,3 +1,3 @@ printf "Content-Type: text/%s\n" "application/x-git-upload-pack-result" echo -printf "%s%s\n" "0079" "45" +printf "%s%s" "0079" "45" diff --git a/t/lib-httpd/incomplete-length-upload-pack-v2-http.sh b/t/lib-httpd/incomplete-length-upload-pack-v2-http.sh index 86c6e648c9..dce552e348 100644 --- a/t/lib-httpd/incomplete-length-upload-pack-v2-http.sh +++ b/t/lib-httpd/incomplete-length-upload-pack-v2-http.sh @@ -1,3 +1,3 @@ printf "Content-Type: text/%s\n" "application/x-git-upload-pack-result" echo -printf "%s\n" "00" +printf "%s" "00" -- 2.27.0.rc1.69.g3229fa6e15