Skip unwritable object directory tests.

chmod a-w does not make a directory unwritable on Windows.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This commit is contained in:
Johannes Sixt
2008-05-02 21:46:54 +02:00
parent 9ea874f89a
commit e00e4b2ef4

View File

@@ -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 &&