summaryrefslogtreecommitdiff
path: root/t/annotate-tests.sh
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-06-19 21:40:37 +0200
committerJunio C Hamano <junkio@cox.net>2006-06-19 18:43:20 -0700
commit0e26f7a1c3275214312bd7171fc850addb71f68d (patch)
treea2280945fe1d1d78b0108512126bca2e296d9783 /t/annotate-tests.sh
parent855419f764a65e92f1d5dd1b3d50ee987db1d9de (diff)
downloadgit-0e26f7a1c3275214312bd7171fc850addb71f68d.tar.gz
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 <dennis@stosberg.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/annotate-tests.sh')
-rw-r--r--t/annotate-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh
index c04f0e1540..1148b0257d 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 \