Code

Merge branch 'maint'
[git.git] / t / t4011-diff-symlink.sh
index 9055c8b318aa8cfa8b89fd19b20e94a7435ee155..3a8130996739766f8168fe2908814987395d53a2 100755 (executable)
@@ -9,6 +9,13 @@ test_description='Test diff of symlinks.
 . ./test-lib.sh
 . "$TEST_DIRECTORY"/diff-lib.sh
 
+if ! test_have_prereq SYMLINKS
+then
+       say 'Symbolic links not supported, skipping tests.'
+       test_done
+       exit
+fi
+
 cat > expected << EOF
 diff --git a/frotz b/frotz
 new file mode 120000