Code

Use prerequisite tags to skip tests that depend on symbolic links
[git.git] / t / t4114-apply-typechange.sh
index 0f185caa44f3a9d048a2c058d963a1e86e9984fd..7dc35dea38b39ebc49c022714779ae07a9c17d88 100755 (executable)
@@ -9,6 +9,13 @@ test_description='git apply should not get confused with type changes.
 
 . ./test-lib.sh
 
+if ! test_have_prereq SYMLINKS
+then
+       say 'Symbolic links not supported, skipping tests.'
+       test_done
+       exit
+fi
+
 test_expect_success 'setup repository and commits' '
        echo "hello world" > foo &&
        echo "hi planet" > bar &&