Re: [PATCH v1 1/1] t1450: use mv -f when overwriting a read only file
> So it was not the shell being old - but /bin/mv
And the flag you want to use is not -v but -f?
Show 17 quoted lines
>
> 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