Bug 445805 - Make sure symlink tests are green when run on Windows with administrator privileges
Summary: Make sure symlink tests are green when run on Windows with administrator priv...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.5 M6   Edit
Assignee: Sergey Prigogin CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
: 456253 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-02 12:28 EDT by Szymon Ptaszkiewicz CLA
Modified: 2015-02-20 15:51 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.