Skip to content

Commit eebfe40

Browse files
ramsay-jonesgitster
authored andcommitted
t5562: avoid non-portable "export FOO=bar" construct
Commit 6c213e8 ("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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6c213e8 commit eebfe40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t5562-http-backend-content-length.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ ssize_b100dots() {
4545
}
4646

4747
test_expect_success 'setup' '
48-
export HTTP_CONTENT_ENCODING="identity" &&
48+
HTTP_CONTENT_ENCODING="identity" &&
49+
export HTTP_CONTENT_ENCODING &&
4950
git config http.receivepack true &&
5051
test_commit c0 &&
5152
test_commit c1 &&

0 commit comments

Comments
 (0)