From: Dennis Stosberg Date: Mon, 19 Jun 2006 19:40:37 +0000 (+0200) Subject: Fix t8001-annotate and t8002-blame for ActiveState Perl X-Git-Tag: v1.4.1-rc1~3^2~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e26f7a1c3275214312bd7171fc850addb71f68d;p=git.git Fix t8001-annotate and t8002-blame for ActiveState Perl There seems to be at least one implementation of Perl which requires the user to specify an extension for backup files. Reported by Alex Riesen. Signed-off-by: Dennis Stosberg Signed-off-by: Junio C Hamano --- diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh index c04f0e154..1148b0257 100644 --- a/t/annotate-tests.sh +++ b/t/annotate-tests.sh @@ -111,7 +111,7 @@ test_expect_success \ test_expect_success \ 'some edit' \ - 'perl -pi -e "s/^1A.*\n$//; s/^3A/99/" file && + 'perl -p -i.orig -e "s/^1A.*\n$//; s/^3A/99/" file && GIT_AUTHOR_NAME="D" git commit -a -m "edit"' test_expect_success \