[Mono.Posix] Fix the SocketTest.ControlMsg() test on OSX
authorSteffen Kieß <s-kiess@web.de>
Tue, 26 Jan 2016 18:46:38 +0000 (19:46 +0100)
committerSteffen Kieß <s-kiess@web.de>
Tue, 26 Jan 2016 18:46:38 +0000 (19:46 +0100)
commit343fc2253d2e7041cdb966224561bd1a63f5573c
tree236eea0d135ef237d94499f66a92299044cf5d88
parenta87f458b483087b645ef4353b9393e79934ed257
[Mono.Posix] Fix the SocketTest.ControlMsg() test on OSX

Unlike Linux, OSX does not allow multiple SCM_RIGHTS control messages in
sendmsg().
The SocketTest.ControlMsg() test is split into two tests, one which sends
only a single control message (containing two FDs), and another one which
sends two control messages (each containing one FD). The second test is not
executed on OSX.
mcs/class/Mono.Posix/Test/Mono.Unix.Native/SocketTest.cs