Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add a small patch-mode testing library
[gitweb.git]
/
t
/
t3000-ls-files-others.sh
diff --git
a/t/t3000-ls-files-others.sh
b/t/t3000-ls-files-others.sh
index 379d963ceafd64fa989fdfd1bba4e420e479bbf8..86291e839942e6842bf1d2b40f2d7f7c1d8d4a9f 100755
(executable)
--- a/
t/t3000-ls-files-others.sh
+++ b/
t/t3000-ls-files-others.sh
@@
-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