From: Stephen Boyd Date: Tue, 26 Jan 2010 00:33:58 +0000 (-0800) Subject: t0022: replace non-portable literal CR X-Git-Tag: v1.7.0-rc1~34 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f4e6dcc36c37a6e62c8900ed657330356f6e2d8e;p=git.git t0022: replace non-portable literal CR We shouldn't have literal CR's in tests as they aren't portable. Signed-off-by: Stephen Boyd Signed-off-by: Junio C Hamano --- diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh index f1e1d4886..7af3fbcc7 100755 --- a/t/t0022-crlf-rename.sh +++ b/t/t0022-crlf-rename.sh @@ -12,7 +12,7 @@ test_expect_success setup ' test_tick && git commit -m Initial && - sed -e "s/\$/ /" "$TEST_DIRECTORY"/t0022-crlf-rename.sh >elpmas && + append_cr <"$TEST_DIRECTORY"/t0022-crlf-rename.sh >elpmas && git add elpmas && rm -f sample &&