X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft3000-ls-files-others.sh;h=86291e839942e6842bf1d2b40f2d7f7c1d8d4a9f;hb=2a1feb92ee58770670e6b82992d29cbc5d6f04aa;hp=379d963ceafd64fa989fdfd1bba4e420e479bbf8;hpb=2fb6d6d6dd1033bfe82d6d327ac270f9cf8943cd;p=git.git diff --git a/t/t3000-ls-files-others.sh b/t/t3000-ls-files-others.sh index 379d963ce..86291e839 100755 --- 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