aboutsummaryrefslogtreecommitdiff
path: root/t/t0022-crlf-rename.sh
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2010-01-25 16:33:58 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-25 16:43:28 -0800
commitf4e6dcc36c37a6e62c8900ed657330356f6e2d8e (patch)
treedbdfc18438f707631179d8d2284bf58267de283f /t/t0022-crlf-rename.sh
parentc4f3f551a61e138f8ace9523d6b16aff37b30302 (diff)
downloadgit-f4e6dcc36c37a6e62c8900ed657330356f6e2d8e.tar.gz
git-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>
Diffstat (limited to 't/t0022-crlf-rename.sh')
-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 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 &&