remote: fix use-after-free error detected by glibc in ref_remove_duplicates
[gitweb.git] / t / t6035-merge-dir-to-symlink.sh
index a0ddf1e0f4013d1adba97561b5b692da7010383f..5b96fb0b37b8397342796fd3b9fec94c91063ba4 100755 (executable)
@@ -3,6 +3,12 @@
 test_description='merging when a directory was replaced with a symlink'
 . ./test-lib.sh
 
+if ! test_have_prereq SYMLINKS
+then
+       say 'Symbolic links not supported, skipping tests.'
+       test_done
+fi
+
 test_expect_success 'create a commit where dir a/b changed to symlink' '
        mkdir -p a/b/c a/b-2/c &&
        > a/b/c/d &&