2009-01-07 Geoff Norton <gnorton@novell.com>
authorGeoff Norton <grompf@sublimeintervention.com>
Wed, 7 Jan 2009 07:04:44 +0000 (07:04 -0000)
committerGeoff Norton <grompf@sublimeintervention.com>
Wed, 7 Jan 2009 07:04:44 +0000 (07:04 -0000)
        * SocketTest.cs: Disable some tests on the Mac that rely on socket
        options that are unavailable.

svn path=/trunk/mcs/; revision=122625

mcs/class/System/Test/System.Net.Sockets/ChangeLog
mcs/class/System/Test/System.Net.Sockets/SocketTest.cs

index 3674cb3389b876f63a0e1e8792697b960d7aaf02..f32ba06adef03bba6026de5cb3278c7c6791bda8 100644 (file)
@@ -1,3 +1,7 @@
+2009-01-07  Geoff Norton  <gnorton@novell.com>
+
+       * SocketTest.cs: Disable some tests on the Mac that rely on socket
+       options that are unavailable.
 
 2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
 
index 6555ee83e85e43580307dde896b3dadf5d755432..e670f791b90c348903a7bfd664259ad9396f5032 100644 (file)
@@ -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,