From: Ramsay Jones Date: Sat, 28 Jul 2018 22:51:28 +0000 (+0100) Subject: t5562: avoid non-portable "export FOO=bar" construct X-Git-Tag: v2.19.0-rc0~45^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eebfe409628e337e283d57a870f52ae0d0e0de34;p=git t5562: avoid non-portable "export FOO=bar" construct Commit 6c213e863a ("http-backend: respect CONTENT_LENGTH for receive-pack", 2018-07-27) adds a test which uses the non-portable export construct. Replace it with "FOO=bar && export FOO" instead. Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- diff --git a/t/t5562-http-backend-content-length.sh b/t/t5562-http-backend-content-length.sh index 057dcb85d6..43570ce120 100755 --- a/t/t5562-http-backend-content-length.sh +++ b/t/t5562-http-backend-content-length.sh @@ -45,7 +45,8 @@ ssize_b100dots() { } test_expect_success 'setup' ' - export HTTP_CONTENT_ENCODING="identity" && + HTTP_CONTENT_ENCODING="identity" && + export HTTP_CONTENT_ENCODING && git config http.receivepack true && test_commit c0 && test_commit c1 &&