diff options
author | Pascal Rapicault | 2013-05-27 01:16:01 +0000 |
---|---|---|
committer | Pascal Rapicault | 2013-05-27 01:16:01 +0000 |
commit | 51ac489b776bbc5eecf11f366ae1297c23d395ca (patch) | |
tree | ef5c923e2291badc951f8d296dc4d287e61370ed /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall | |
parent | 0ca9c7abe52ea7df9d6ccf69cabf08d0870284cb (diff) | |
download | rt.equinox.p2-51ac489b776bbc5eecf11f366ae1297c23d395ca.tar.gz rt.equinox.p2-51ac489b776bbc5eecf11f366ae1297c23d395ca.tar.xz rt.equinox.p2-51ac489b776bbc5eecf11f366ae1297c23d395ca.zip |
Bug 409095 - [test] AbstractSharedInstallTest#removeReallyReadOnly failsI20130527-0800
with NPE on Mac
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/AbstractSharedInstallTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/AbstractSharedInstallTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/AbstractSharedInstallTest.java index ede8a439e..b458836c7 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/AbstractSharedInstallTest.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/AbstractSharedInstallTest.java @@ -200,6 +200,9 @@ public abstract class AbstractSharedInstallTest extends AbstractReconcilerTest { } protected void removeReallyReadOnly(File folder) { + if (!Platform.getOS().equals(Platform.OS_WIN32)) + return; + try { Path path = folder.toPath(); AclFileAttributeView view = Files.getFileAttributeView(path, AclFileAttributeView.class); |