git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Fix t8001-annotate and t8002-blame for ActiveState Perl

From
DSDennis Stosberg <dennis@stosberg.net>
Date
Jun 19, 2006, 19:40 UTC
Message-ID
<20060619194037.G41ac8efa@leonov.stosberg.net>
In-Reply-To
<81b0412b0606190935g67581ebucf172acb36e53b02@mail.gmail.com>

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>
---

What system and what version of ActivePerl do you use? I have just tried ActivePerl 5.8.8 on Solaris and it does _not_ force the user to make backups.

 t/annotate-tests.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh
index c04f0e1..03ed081 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 \
-- 
1.4.0
Previous: Alex Riesen
Message 6 of 6 in “Make t8001-annotate and t8002-blame more portable”
  1. Make t8001-annotate and t8002-blame more portableDennis Stosberg, Jun 18, 2006
  2. Junio C HamanoJun 18, 2006
  3. Dennis StosbergJun 18, 2006
  4. Junio C HamanoJun 18, 2006
  5. Alex RiesenJun 19, 2006
  6. Fix t8001-annotate and t8002-blame for ActiveState PerlDennis Stosberg, Jun 19, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.