X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=inline;f=t%2Ft4129-apply-samemode.sh;h=0d36ebdc8653d7d22ab5831c1f154db452e4558e;hb=5acb623b72bde9ec96c48a8bb8f50e61371705ee;hp=fc7af0493102f12438d59ac5ed6e3e96eda8c841;hpb=68a47414846dc62ccc41e41a2f5ba55f80e226b3;p=git.git diff --git a/t/t4129-apply-samemode.sh b/t/t4129-apply-samemode.sh index fc7af0493..0d36ebdc8 100755 --- a/t/t4129-apply-samemode.sh +++ b/t/t4129-apply-samemode.sh @@ -3,13 +3,7 @@ test_description='applying patch with mode bits' . ./test-lib.sh - -if test "$(git config --bool core.filemode)" = false -then - say 'filemode disabled on the filesystem' -else - test_set_prereq FILEMODE -fi +. "$TEST_DIRECTORY"/lib-prereq-FILEMODE.sh test_expect_success setup ' echo original >file &&