Subject: Re: [PATCH] merge-tree: fix segmentation fault in read-only repositories

From: Junio C Hamano <[email-masked]>
Date: Wed, 21 Sep 2022 11:12:41 -0700

"Johannes Schindelin via GitGitGadget" <[email-masked]>
writes:

> +test_expect_success 'merge-ort fails gracefully in a read-only repository' '
> +	git init --bare read-only &&
> +	git push read-only side1 side2 &&
> +	test_when_finished "chmod -R u+w read-only" &&
> +	chmod -R a-w read-only &&
> +	test_must_fail git -C read-only merge-tree side1 side2
> +'

Doesn't this test need a prerequisite to guard against those whose
filesystem lacks SANITY?