From owner-svn-src-all@FreeBSD.ORG Sun Mar 8 21:06:02 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A0B8106564A; Sun, 8 Mar 2009 21:06:02 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 87A4F8FC08; Sun, 8 Mar 2009 21:06:02 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n28L62FM096900; Sun, 8 Mar 2009 21:06:02 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n28L62EF096899; Sun, 8 Mar 2009 21:06:02 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200903082106.n28L62EF096899@svn.freebsd.org> From: Robert Watson Date: Sun, 8 Mar 2009 21:06:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189543 - head/tools/regression/sockets/unix_gc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 21:06:03 -0000 Author: rwatson Date: Sun Mar 8 21:06:02 2009 New Revision: 189543 URL: http://svn.freebsd.org/changeset/base/189543 Log: In UNIX domain socket GC regression test, after setting a socket non-blocking, EINPROGRESS is an acceptable result from connect(). Modified: head/tools/regression/sockets/unix_gc/unix_gc.c Modified: head/tools/regression/sockets/unix_gc/unix_gc.c ============================================================================== --- head/tools/regression/sockets/unix_gc/unix_gc.c Sun Mar 8 19:09:55 2009 (r189542) +++ head/tools/regression/sockets/unix_gc/unix_gc.c Sun Mar 8 21:06:02 2009 (r189543) @@ -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); }