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 <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramsay Jones committed
Jul 28, 2018 at 23:51 UTC
eebfe409628e337e283d57a870f52ae0d0e0de34
1 file changed
+2
-1
t/t5562-http-backend-content-length.sh
+2
-1
@@ -45,7 +45,8 @@ ssize_b100dots() {
45
}
46
47
test_expect_success 'setup' '
48
- export HTTP_CONTENT_ENCODING="identity" &&
48
+ HTTP_CONTENT_ENCODING="identity" &&
49
+ export HTTP_CONTENT_ENCODING &&
50
git config http.receivepack true &&
51
test_commit c0 &&
52
test_commit c1 &&