Skip to contentSkip to conversation

t6035-merge-dir-to-symlink depends on SYMLINKS prerequisite

PATCH New Johannes Sixt 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 t6035-merge-dir-to-symlink depends on SYMLINKS prerequisite

---
 t/t6035-merge-dir-to-symlink.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
t/t6035-merge-dir-to-symlink.sh +6 -0
index a0ddf1e..5b96fb0 100755
@@ -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 &&
Signature · 1 line
1.6.4.1026.g2deb5