t6035-merge-dir-to-symlink depends on SYMLINKS prerequisite
Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Sixt committed
Aug 9, 2009 at 17:35 UTC
b6b0737d02e3bb9b3015ec66f5b6454d5b83d57b
1 file changed
+6
t/t6035-merge-dir-to-symlink.sh
+6
@@ -3,6 +3,12 @@
3
test_description='merging when a directory was replaced with a symlink'
4
. ./test-lib.sh
5
6
+if ! test_have_prereq SYMLINKS
7
+then
8
+ say 'Symbolic links not supported, skipping tests.'
9
+ test_done
10
+fi
11
+
12
test_expect_success 'create a commit where dir a/b changed to symlink' '
13
mkdir -p a/b/c a/b-2/c &&
14
> a/b/c/d &&