]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t3000-ls-files-others.sh
Merge branch 'jc/maint-am-keep' into maint
[git.git] / t / t3000-ls-files-others.sh
index 379d963ceafd64fa989fdfd1bba4e420e479bbf8..86291e839942e6842bf1d2b40f2d7f7c1d8d4a9f 100755 (executable)
@@ -18,7 +18,12 @@ filesystem.
 . ./test-lib.sh
 
 date >path0
-ln -s xyzzy path1
+if test_have_prereq SYMLINKS
+then
+       ln -s xyzzy path1
+else
+       date > path1
+fi
 mkdir path2 path3 path4
 date >path2/file2
 date >path2-junk