]> source.dussan.org Git - jgit.git/commit
Windows: Test that we can create a symlink before the target is created 85/21585/15
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 5 Feb 2014 20:24:41 +0000 (21:24 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 12 Feb 2014 22:29:41 +0000 (23:29 +0100)
commit1e6407162c5d061ba8525a4aa0f3d969f24bbb05
tree5d6fb51cffef724a20ed960f8d0101517ffac0be
parentd86c88308231b79a4b569032546c4043570c3921
Windows: Test that we can create a symlink before the target is created

According to Win32 API, you need to specificy whether a symlink
points to a file or directory. These tests suggests a symlink created
for a file, can actually point to a directory. We can also create the
link before the target exists, so at least in this respect Windows
symbolic links appears to work as POSIX links.

On POSIX systems these tests have no relevance.

Change-Id: Id3991a4fc4333087c6f569acf04f503b0a0f170d
org.eclipse.jgit.java7.test/src/org/eclipse/jgit/symlinks/SymlinksTest.java