Gmane
Picon Gravatar
From: Stephen Boyd <bebarino <at> gmail.com>
Subject: [PATCHv3 2/3] t0022: replace non-portable literal CR
Newsgroups: gmane.comp.version-control.git
Date: 2010-01-26 00:33:58 GMT (6 weeks, 2 days, 19 hours and 9 minutes ago)
We shouldn't have literal CR's in tests as they aren't portable.

Signed-off-by: Stephen Boyd <bebarino <at> gmail.com>
---

Hopefully this isn't botched over the wire.

 t/t0022-crlf-rename.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh
index f1e1d48..7af3fbc 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 &&

-- 
1.7.0.rc0