Kaydet (Commit) 6f8a0586 authored tarafından Robert Collins's avatar Robert Collins

Issue #22397: Skip failing tests on AIX

Patch from David Edelsohn.
...@@ -2750,6 +2750,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase): ...@@ -2750,6 +2750,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
self.createAndSendFDs(1) self.createAndSendFDs(1)
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958") @unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
@unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
@requireAttrs(socket, "CMSG_SPACE") @requireAttrs(socket, "CMSG_SPACE")
def testFDPassSeparate(self): def testFDPassSeparate(self):
# Pass two FDs in two separate arrays. Arrays may be combined # Pass two FDs in two separate arrays. Arrays may be combined
...@@ -2760,6 +2761,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase): ...@@ -2760,6 +2761,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
@testFDPassSeparate.client_skip @testFDPassSeparate.client_skip
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958") @unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
@unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
def _testFDPassSeparate(self): def _testFDPassSeparate(self):
fd0, fd1 = self.newFDs(2) fd0, fd1 = self.newFDs(2)
self.assertEqual( self.assertEqual(
...@@ -2772,6 +2774,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase): ...@@ -2772,6 +2774,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
len(MSG)) len(MSG))
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958") @unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
@unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
@requireAttrs(socket, "CMSG_SPACE") @requireAttrs(socket, "CMSG_SPACE")
def testFDPassSeparateMinSpace(self): def testFDPassSeparateMinSpace(self):
# Pass two FDs in two separate arrays, receiving them into the # Pass two FDs in two separate arrays, receiving them into the
...@@ -2784,6 +2787,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase): ...@@ -2784,6 +2787,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
@testFDPassSeparateMinSpace.client_skip @testFDPassSeparateMinSpace.client_skip
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958") @unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
@unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
def _testFDPassSeparateMinSpace(self): def _testFDPassSeparateMinSpace(self):
fd0, fd1 = self.newFDs(2) fd0, fd1 = self.newFDs(2)
self.assertEqual( self.assertEqual(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment