diff --git a/t/t0004-unwritable.sh b/t/t0004-unwritable.sh index 9255c63c08..f1385d6ded 100755 --- a/t/t0004-unwritable.sh +++ b/t/t0004-unwritable.sh @@ -4,6 +4,13 @@ test_description='detect unwritable repository and fail correctly' . ./test-lib.sh +case "$(uname -s)" in +*MINGW*) + say "chmod a-w .git/objects does not make directory unwritable - skipping tests" + test_done + ;; +esac + test_expect_success setup ' >file &&