Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>2017-10-25 01:08:14 +0300
committerStephen Toub <stoub@microsoft.com>2017-10-25 01:08:14 +0300
commitd92705215952d8c2ec89254d789f8bf9a445788a (patch)
treecdc0f19893dcdce8b06340cc5143bdab29d98acb /src
parentb88ad22208c22d0d87a794fda9bed94101963288 (diff)
Event Log Tests disabled for Windows 7 (#24845)
* Event Log Tests disabled for Windows 7 * review completed
Diffstat (limited to 'src')
-rw-r--r--src/System.Diagnostics.EventLog/tests/Helpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Diagnostics.EventLog/tests/Helpers.cs b/src/System.Diagnostics.EventLog/tests/Helpers.cs
index a1208b8886..056a3a7d1e 100644
--- a/src/System.Diagnostics.EventLog/tests/Helpers.cs
+++ b/src/System.Diagnostics.EventLog/tests/Helpers.cs
@@ -7,6 +7,6 @@ namespace System.Diagnostics.Tests
internal class Helpers
{
public static bool IsElevatedAndSupportsEventLogs { get => AdminHelpers.IsProcessElevated() && SupportsEventLogs; }
- public static bool SupportsEventLogs { get => PlatformDetection.IsNotWindowsNanoServer; }
+ public static bool SupportsEventLogs { get => PlatformDetection.IsNotWindowsNanoServer && !PlatformDetection.IsWindows7; }
}
}