Bug 445805

Summary: Make sure symlink tests are green when run on Windows with administrator privileges
Product: [Eclipse Project] Platform Reporter: Szymon Ptaszkiewicz <sptaszkiewicz>
Component: ResourcesAssignee: Sergey Prigogin <eclipse.sprigogin>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.sprigogin
Version: 4.5Keywords: test
Target Milestone: 4.5 M6   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/38804
https://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=7d71fbd75009d4bc6c68e700ecd55528b3e4889a
Whiteboard:

Description Szymon Ptaszkiewicz CLA 2014-10-02 12:28:15 EDT
There are a few symlink tests in org.eclipse.core.tests.resources that were never run on Windows but are going to be enabled for Windows via bug 440283. At the moment there are a few tests that fail since they were never designed to support Windows, especially tests in the SymlinkTest class. We need to make sure those tests are Windows-aware and green if we run them on Windows with administrator privileges.
Comment 1 Szymon Ptaszkiewicz CLA 2014-10-13 10:23:42 EDT
The following symlink tests fail when run on Windows 7 with administrator privileges and need to be adjusted:

SymlinkTest.testSymlinkAttributes
SymlinkTest.testRecursiveSymlink
SymlinkTest.testSymlinkPutExecutable
SymlinkTest.testBrokenSymlinkAttributes
SymlinkTest.testSymlinkPutReadOnly

Failure in SymlinkResourceTest.testBug232426 is already known and tracked in bug 363463.
Comment 2 Szymon Ptaszkiewicz CLA 2014-12-29 04:44:55 EST
*** Bug 456253 has been marked as a duplicate of this bug. ***
Comment 3 Sergey Prigogin CLA 2014-12-29 10:31:16 EST
*** Bug 456253 has been marked as a duplicate of this bug. ***
Comment 4 Sergey Prigogin CLA 2015-01-05 13:18:09 EST
A proposed fix is in https://git.eclipse.org/r/#/c/38804/
Comment 6 Szymon Ptaszkiewicz CLA 2015-02-11 07:33:25 EST
Thanks, Sergey!
Comment 7 Szymon Ptaszkiewicz CLA 2015-02-20 15:51:13 EST
Verified in I20150217-0800.