@matheusbsbs / matheus-bagliano / commits / 563b43ee45
Fork 0

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>

Alex Riesen committed Feb 5, 2007 at 14:04 UTC 563b43ee45b87cf1e4bba99d3d0216f396d5c873
1 file changed +2 -1
t/annotate-tests.sh
+2 -1
@@ -113,7 +113,8 @@ test_expect_success \
113
114 test_expect_success \
115 'some edit' \
116 - 'perl -p -i.orig -e "s/^1A.*\n$//; s/^3A/99/" file &&
116 + 'mv file file.orig &&
117 + sed -e "s/^3A/99/" -e "/^1A/d" < file.orig > file &&
118 GIT_AUTHOR_NAME="D" git commit -a -m "edit"'
119
120 test_expect_success \