Thread View: linux.kernel.git
1 messages
1 total messages
Started by Junio C Hamano
Sun, 25 Oct 2026 04:31
Re: [PATCH v1 1/1] t1450: use mv -f when overwriting a read only file
Author: Junio C Hamano
Date: Sun, 25 Oct 2026 04:31
Date: Sun, 25 Oct 2026 04:31
24 lines
13209 bytes
13209 bytes
tboegi@web.de writes: > So it was not the shell being old - but /bin/mv And the flag you want to use is not -v but -f? > > t/t1450-fsck.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh > index 16cc5d5dcb..335dcbf0af 100755 > --- a/t/t1450-fsck.sh > +++ b/t/t1450-fsck.sh > @@ -548,7 +548,7 @@ test_expect_success 'rev-list --verify-objects with truncated loose blob' ' > # Truncate the loose blob such that its header can still be > # parsed, but reading the object data fails mid-stream. > test_copy_bytes 64 <"$obj" >obj.tmp && > - mv obj.tmp "$obj" && > + mv -v obj.tmp "$obj" && > > test_must_fail git rev-list --verify-objects "$blob" 2>err && > test_grep "hash mismatch" err
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads