t/t3701-add-interactive.sh: change from skip_all=* to prereq skip
[gitweb.git] / t / t6031-merge-recursive.sh
index 8a3304fb0b5901fb02435d3b77c3d049404f4e25..66167e3f732422146d3540c7951a424526c26cfc 100755 (executable)
@@ -2,11 +2,7 @@
 
 test_description='merge-recursive: handle file mode'
 . ./test-lib.sh
-
-if ! test "$(git config --bool core.filemode)" = false
-then
-       test_set_prereq FILEMODE
-fi
+. "$TEST_DIRECTORY"/lib-prereq-FILEMODE.sh
 
 test_expect_success 'mode change in one branch: keep changed version' '
        : >file1 &&