Browse Source

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>
maint
Alex Riesen 18 years ago committed by Junio C Hamano
parent
commit
563b43ee45
  1. 3
      t/annotate-tests.sh

3
t/annotate-tests.sh

@ -113,7 +113,8 @@ test_expect_success \ @@ -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 \

Loading…
Cancel
Save