Skip to content

Commit

Permalink
SystemEventsBroker does not exists before Windows 8
Browse files Browse the repository at this point in the history
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
  • Loading branch information
T-Svensson authored and dbwiddis committed Jul 10, 2020
1 parent 67596fb commit cda654c
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -67,7 +67,9 @@ public void testEnumServices() {
// It is expected, that these services are present
List<String> expectedServices = new ArrayList<String>(4);
expectedServices.add("Schedule");
expectedServices.add("SystemEventsBroker");
if (VersionHelpers.IsWindows8OrGreater()) {
expectedServices.add("SystemEventsBroker");
}
expectedServices.add("Power");
expectedServices.add("Netlogon");

Expand Down

0 comments on commit cda654c

Please sign in to comment.