summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Stephen Boyd <bebarino@gmail.com>2010-01-25 16:33:58 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-25 16:43:28 -0800
commitf4e6dcc36c37a6e62c8900ed657330356f6e2d8e (patch)
treedbdfc18438f707631179d8d2284bf58267de283f
parenttests: consolidate CR removal/addition functions (diff)
downloadtgif-f4e6dcc36c37a6e62c8900ed657330356f6e2d8e.tar.xz
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 <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t0022-crlf-rename.sh2
1 files changed, 1 insertions, 1 deletions
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 &&