From f4e6dcc36c37a6e62c8900ed657330356f6e2d8e Mon Sep 17 00:00:00 2001 From: Stephen Boyd Date: Mon, 25 Jan 2010 16:33:58 -0800 Subject: [PATCH] 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 --- t/t0022-crlf-rename.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh index f1e1d48869..7af3fbcc7b 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 && -- 2.11.4.GIT