From e00e4b2ef41c6622a4afcbdb8dc0725b6f1b459a Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 2 May 2008 21:46:54 +0200 Subject: [PATCH] Skip unwritable object directory tests. chmod a-w does not make a directory unwritable on Windows. Signed-off-by: Johannes Sixt --- t/t0004-unwritable.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 &&