--- old/test/java/net/ipv6tests/Tests.java 2017-04-13 16:57:39.000000000 +0100 +++ new/test/java/net/ipv6tests/Tests.java 2017-04-13 16:57:39.000000000 +0100 @@ -27,7 +27,10 @@ public class Tests { - static boolean isWindows = System.getProperty("os.name").startsWith("Windows"); + static final boolean isWindows = + System.getProperty("os.name").startsWith("Windows"); + static final boolean isMacOS = + System.getProperty("os.name", "unknown").contains("OS X"); /** * performs a simple exchange of data between the two sockets @@ -278,6 +281,8 @@ String dName = nic.getDisplayName(); if (dName != null && dName.contains("Teredo")) continue; + } else if (isMacOS && nic.getName().contains("awdl")) { + continue; } try { if (nic.isUp() && !nic.isLoopback())