X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Fannotate-tests.sh;h=87403da780814787f6c4ea15a790381a5b2395d3;hb=563b43ee45b87cf1e4bba99d3d0216f396d5c873;hp=b5ceba4acfd8e862cfc5a77672241e07205f70ea;hpb=451fd65a8ebb8c91fbceac3be705b274aa3e3673;p=git.git 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 \