summaryrefslogtreecommitdiff
path: root/t/t4129-apply-samemode.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2010-08-13 20:40:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-18 19:43:23 (GMT)
commit535d9742852e12a4d4cfc878eb2e734df70a8f22 (patch)
tree18097d029fabb52d656ab670ff50ceefd7edfd6c /t/t4129-apply-samemode.sh
parent617344d77bf2a11b507fb74160b14e5b7476f8ad (diff)
downloadgit-535d9742852e12a4d4cfc878eb2e734df70a8f22.zip
git-535d9742852e12a4d4cfc878eb2e734df70a8f22.tar.gz
git-535d9742852e12a4d4cfc878eb2e734df70a8f22.tar.bz2
tests: Move FILEMODE prerequisite to lib-prereq-FILEMODE.sh
Change the five tests that were all checking "git config --bool core.filemode" to use a new FILEMODE prerequisite in lib-prereq-FILEMODE.sh. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4129-apply-samemode.sh')
-rwxr-xr-xt/t4129-apply-samemode.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/t/t4129-apply-samemode.sh b/t/t4129-apply-samemode.sh
index fc7af04..0d36ebd 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 &&