From: Geoff Norton Date: Wed, 7 Jan 2009 07:04:44 +0000 (-0000) Subject: 2009-01-07 Geoff Norton X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=067bd1817a10eff6a90bb324fda07a5f13619c0b;p=mono.git 2009-01-07 Geoff Norton * SocketTest.cs: Disable some tests on the Mac that rely on socket options that are unavailable. svn path=/trunk/mcs/; revision=122625 --- diff --git a/mcs/class/System/Test/System.Net.Sockets/ChangeLog b/mcs/class/System/Test/System.Net.Sockets/ChangeLog index 3674cb3389b..f32ba06adef 100644 --- a/mcs/class/System/Test/System.Net.Sockets/ChangeLog +++ b/mcs/class/System/Test/System.Net.Sockets/ChangeLog @@ -1,3 +1,7 @@ +2009-01-07 Geoff Norton + + * SocketTest.cs: Disable some tests on the Mac that rely on socket + options that are unavailable. 2008-12-03 Gonzalo Paniagua Javier diff --git a/mcs/class/System/Test/System.Net.Sockets/SocketTest.cs b/mcs/class/System/Test/System.Net.Sockets/SocketTest.cs index 6555ee83e85..e670f791b90 100644 --- a/mcs/class/System/Test/System.Net.Sockets/SocketTest.cs +++ b/mcs/class/System/Test/System.Net.Sockets/SocketTest.cs @@ -600,6 +600,7 @@ namespace MonoTests.System.Net.Sockets } [Test] + [Category ("NotOnMac")] // DontFragment doesn't work on Mac public void DontFragmentChangeTcp () { Socket sock = new Socket (AddressFamily.InterNetwork, @@ -628,6 +629,7 @@ namespace MonoTests.System.Net.Sockets } [Test] + [Category ("NotOnMac")] // DontFragment doesn't work on Mac public void DontFragmentChangeUdp () { Socket sock = new Socket (AddressFamily.InterNetwork, @@ -1100,6 +1102,7 @@ namespace MonoTests.System.Net.Sockets } [Test] + [Category ("NotOnMac")] // Mac doesn't throw when overflowing the ttl public void TtlChangeOverflow () { Socket sock = new Socket (AddressFamily.InterNetwork, @@ -1892,6 +1895,7 @@ namespace MonoTests.System.Net.Sockets } [Test] + [Category ("NotOnMac")] // MacOSX will block attempting to connect to 127.0.0.4 causing the test to fail public void BeginConnectMultiple () { Socket sock = new Socket (AddressFamily.InterNetwork, @@ -2337,6 +2341,7 @@ namespace MonoTests.System.Net.Sockets } [Test] + [Category ("NotOnMac")] // MacOSX trashes the fd after the failed connect attempt to 127.0.0.4 public void ConnectMultiple () { Socket sock = new Socket (AddressFamily.InterNetwork,