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:
Johannes Schindelin
2009-03-07 17:40:15 +01:00
parent dba002b9e5
commit 23c5477dfb

View File

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