From 23c5477dfb63cee46806b9f9c8d9d73d93db776e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 7 Mar 2009 17:40:15 +0100 Subject: [PATCH] t4129: skip tests if core.filemode = false If we cannot test file modes, we cannot test file modes. Signed-off-by: Johannes Schindelin --- t/t4129-apply-samemode.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/t4129-apply-samemode.sh b/t/t4129-apply-samemode.sh index adfcbb5a3..a74101abb 100755 --- a/t/t4129-apply-samemode.sh +++ b/t/t4129-apply-samemode.sh @@ -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 && -- 2.11.4.GIT