5252
5353VSOCKPORT = 1234
5454AIX = platform .system () == "AIX"
55+ SOLARIS = sys .platform .startswith ("sunos" )
5556WSL = "microsoft-standard-WSL" in platform .release ()
5657
5758try :
@@ -3922,7 +3923,7 @@ def testCMSG_SPACE(self):
39223923 # Test CMSG_SPACE() with various valid and invalid values,
39233924 # checking the assumptions used by sendmsg().
39243925 toobig = self .socklen_t_limit - socket .CMSG_SPACE (1 ) + 1
3925- values = list (range (257 )) + list (range (toobig - 257 , toobig ))
3926+ values = list (range (257 )) + list (range (toobig - 257 , toobig - 8 ))
39263927
39273928 last = socket .CMSG_SPACE (0 )
39283929 # struct cmsghdr has at least three members, two of which are ints
@@ -4068,6 +4069,7 @@ def _testFDPassCMSG_LEN(self):
40684069 self .createAndSendFDs (1 )
40694070
40704071 @unittest .skipIf (is_apple , "skipping, see issue #12958" )
4072+ @unittest .skipIf (SOLARIS , "skipping, see issue #00000" )
40714073 @unittest .skipIf (AIX , "skipping, see issue #22397" )
40724074 @requireAttrs (socket , "CMSG_SPACE" )
40734075 def testFDPassSeparate (self ):
@@ -4079,6 +4081,7 @@ def testFDPassSeparate(self):
40794081
40804082 @testFDPassSeparate .client_skip
40814083 @unittest .skipIf (is_apple , "skipping, see issue #12958" )
4084+ @unittest .skipIf (SOLARIS , "skipping, see issue #00000" )
40824085 @unittest .skipIf (AIX , "skipping, see issue #22397" )
40834086 def _testFDPassSeparate (self ):
40844087 fd0 , fd1 = self .newFDs (2 )
@@ -4092,6 +4095,7 @@ def _testFDPassSeparate(self):
40924095 len (MSG ))
40934096
40944097 @unittest .skipIf (is_apple , "skipping, see issue #12958" )
4098+ @unittest .skipIf (SOLARIS , "skipping, see issue #00000" )
40954099 @unittest .skipIf (AIX , "skipping, see issue #22397" )
40964100 @requireAttrs (socket , "CMSG_SPACE" )
40974101 def testFDPassSeparateMinSpace (self ):
@@ -4106,6 +4110,7 @@ def testFDPassSeparateMinSpace(self):
41064110
41074111 @testFDPassSeparateMinSpace .client_skip
41084112 @unittest .skipIf (is_apple , "skipping, see issue #12958" )
4113+ @unittest .skipIf (SOLARIS , "skipping, see issue #00000" )
41094114 @unittest .skipIf (AIX , "skipping, see issue #22397" )
41104115 def _testFDPassSeparateMinSpace (self ):
41114116 fd0 , fd1 = self .newFDs (2 )
0 commit comments