In UNIX domain socket GC regression test, after setting a socket

non-blocking, EINPROGRESS is an acceptable result from connect().
This commit is contained in:
Robert Watson 2009-03-08 21:06:02 +00:00
parent ae46d95884
commit 0ca4746bcb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189543

View File

@ -160,7 +160,7 @@ static void
my_connect(int sock, struct sockaddr *sa, socklen_t len)
{
if (connect(sock, sa, len) < 0)
if (connect(sock, sa, len) < 0 && errno != EINPROGRESS)
err(-1, "%s: connect", test);
}