git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with t6011
@ 2025-05-06 12:32 Torsten Bögershausen
  2025-05-06 21:18 ` Junio C Hamano
  2025-05-06 22:48 ` [PATCH] t6011: fix misconversion from perl to sed Junio C Hamano
  0 siblings, 2 replies; 5+ messages in thread
From: Torsten Bögershausen @ 2025-05-06 12:32 UTC (permalink / raw)
  To: git, ps

Hej Patrick,
in case you have a second:
the mv command here needs a "-f" to overwrite
read-only files:

--- a/t/t6011-rev-list-with-bad-commit.sh
+++ b/t/t6011-rev-list-with-bad-commit.sh
@@ -39,7 +39,7 @@ test_expect_success 'corrupt second commit object' '
         for p in .git/objects/pack/*.pack
         do
                 sed "s/second commit/socond commit/" "$p" >"$p.munged" &&
-               mv "$p.munged" "$p" ||
+               mv -f "$p.munged" "$p" ||
                 return 1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-07 15:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 12:32 Problems with t6011 Torsten Bögershausen
2025-05-06 21:18 ` Junio C Hamano
2025-05-06 22:48 ` [PATCH] t6011: fix misconversion from perl to sed Junio C Hamano
2025-05-07  4:57   ` Patrick Steinhardt
2025-05-07 15:29     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).