mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
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:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user