mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
t4129: skip tests if core.filemode = false
If we cannot test file modes, we cannot test file modes. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -16,6 +16,11 @@ test_expect_success setup '
|
||||
git diff --stat -p >patch-1.txt
|
||||
'
|
||||
|
||||
test "$(git config --bool core.filemode)" = false &&
|
||||
say "executable bit not honored - skipping" &&
|
||||
test_done &&
|
||||
exit
|
||||
|
||||
test_expect_success 'same mode (no index)' '
|
||||
git reset --hard &&
|
||||
chmod +x file &&
|
||||
|
||||
Reference in New Issue
Block a user