Junio C Hamano <gitster@xxxxxxxxx> writes: > diff --git a/t/t4015-diff-whitespace.sh b/t/t4015-diff-whitespace.sh > index f3e20dd5bb..943ad252d4 100755 > --- a/t/t4015-diff-whitespace.sh > +++ b/t/t4015-diff-whitespace.sh > @@ -11,6 +11,39 @@ TEST_PASSES_SANITIZE_LEAK=true > + ... > + test_expect_success "status with $opts (mode differs)" ' > + test_when_finished "git update-index --chmod=-x x" && > + echo foo >x && > + git add x && > + git update-index --chmod=+x x && > + test_expect_code 1 git diff -w $opts --exit-code x > + ' Apparently this one needs to skipped on a filesystem without support for the executable bit. cf. https://github.com/git/git/actions/runs/5897310248/job/15996914969#step:5:218 I'll give POSIXPERM prerequisite to this test piece.