4545
4646VSOCKPORT  =  1234 
4747AIX  =  platform .system () ==  "AIX" 
48+ SOLARIS  =  sys .platform .startswith ("sunos" )
4849
4950try :
5051    import  _socket 
@@ -3470,7 +3471,7 @@ def testCMSG_SPACE(self):
34703471        # Test CMSG_SPACE() with various valid and invalid values, 
34713472        # checking the assumptions used by sendmsg(). 
34723473        toobig  =  self .socklen_t_limit  -  socket .CMSG_SPACE (1 ) +  1 
3473-         values  =  list (range (257 )) +  list (range (toobig  -  257 , toobig ))
3474+         values  =  list (range (257 )) +  list (range (toobig  -  257 , toobig   -   8 ))
34743475
34753476        last  =  socket .CMSG_SPACE (0 )
34763477        # struct cmsghdr has at least three members, two of which are ints 
@@ -3616,6 +3617,7 @@ def _testFDPassCMSG_LEN(self):
36163617        self .createAndSendFDs (1 )
36173618
36183619    @unittest .skipIf (sys .platform  ==  "darwin" , "skipping, see issue #12958" ) 
3620+     @unittest .skipIf (SOLARIS , "skipping, see issue #00000" ) 
36193621    @unittest .skipIf (AIX , "skipping, see issue #22397" ) 
36203622    @requireAttrs (socket , "CMSG_SPACE" ) 
36213623    def  testFDPassSeparate (self ):
@@ -3627,6 +3629,7 @@ def testFDPassSeparate(self):
36273629
36283630    @testFDPassSeparate .client_skip  
36293631    @unittest .skipIf (sys .platform  ==  "darwin" , "skipping, see issue #12958" ) 
3632+     @unittest .skipIf (SOLARIS , "skipping, see issue #00000" ) 
36303633    @unittest .skipIf (AIX , "skipping, see issue #22397" ) 
36313634    def  _testFDPassSeparate (self ):
36323635        fd0 , fd1  =  self .newFDs (2 )
@@ -3640,6 +3643,7 @@ def _testFDPassSeparate(self):
36403643            len (MSG ))
36413644
36423645    @unittest .skipIf (sys .platform  ==  "darwin" , "skipping, see issue #12958" ) 
3646+     @unittest .skipIf (SOLARIS , "skipping, see issue #00000" ) 
36433647    @unittest .skipIf (AIX , "skipping, see issue #22397" ) 
36443648    @requireAttrs (socket , "CMSG_SPACE" ) 
36453649    def  testFDPassSeparateMinSpace (self ):
@@ -3654,6 +3658,7 @@ def testFDPassSeparateMinSpace(self):
36543658
36553659    @testFDPassSeparateMinSpace .client_skip  
36563660    @unittest .skipIf (sys .platform  ==  "darwin" , "skipping, see issue #12958" ) 
3661+     @unittest .skipIf (SOLARIS , "skipping, see issue #00000" ) 
36573662    @unittest .skipIf (AIX , "skipping, see issue #22397" ) 
36583663    def  _testFDPassSeparateMinSpace (self ):
36593664        fd0 , fd1  =  self .newFDs (2 )
0 commit comments