aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2007-02-05 14:04:09 +0100
committerJunio C Hamano <junkio@cox.net>2007-02-07 00:35:15 -0800
commit563b43ee45b87cf1e4bba99d3d0216f396d5c873 (patch)
tree95052373718e3983d20e4e5e37118082305d537e /t
parent451fd65a8ebb8c91fbceac3be705b274aa3e3673 (diff)
downloadgit-563b43ee45b87cf1e4bba99d3d0216f396d5c873.tar.gz
git-563b43ee45b87cf1e4bba99d3d0216f396d5c873.tar.xz
Avoid ActiveState Perl IO in t800[12]
Use sed instead, it comes with cygwin and there is almost no chance of someone installing a sed with default CRLF lineendings by accident. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
-rw-r--r--t/annotate-tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh
index b5ceba4ac..87403da78 100644
--- a/t/annotate-tests.sh
+++ b/t/annotate-tests.sh
@@ -113,7 +113,8 @@ test_expect_success \
test_expect_success \
'some edit' \
- 'perl -p -i.orig -e "s/^1A.*\n$//; s/^3A/99/" file &&
+ 'mv file file.orig &&
+ sed -e "s/^3A/99/" -e "/^1A/d" < file.orig > file &&
GIT_AUTHOR_NAME="D" git commit -a -m "edit"'
test_expect_success \