Code

Fix t8001-annotate and t8002-blame for ActiveState Perl
authorDennis Stosberg <dennis@stosberg.net>
Mon, 19 Jun 2006 19:40:37 +0000 (21:40 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Jun 2006 01:43:20 +0000 (18:43 -0700)
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>
t/annotate-tests.sh

index c04f0e1540794c3d4d950c158beee249ba98b726..1148b0257dafd4e9b63e030052b47b527b5c0d3b 100644 (file)
@@ -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 \