rem: ASYS_TEXT ("Test not executed fully; " "expected EWOULDBLOCK, %p (%d)\n"),
add: ASYS_TEXT ("Test not executed fully; ") ASYS_TEXT ("expected EWOULDBLOCK, %p (%d)\n"),
context: fail_no_listener_nonblocking (void){  ASYS_TCHAR test_host[MAXHOSTNAMELEN];  int status;  ACE_INET_Addr nobody_home;  ACE_SOCK_Connector con;  ACE_SOCK_Stream sock;  ACE_Time_Value nonblock (0, 0);  find_another_host (test_host);  ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Testing to host \"%s\"\n"), test_host));  if (nobody_home.set ((u_short) 42000, test_host) == -1)    {      ACE_ERROR ((LM_ERROR, ASYS_TEXT ("Host lookup for %s %p\n"),                  test_host, ASYS_TEXT ("failed")));      return -1;    }  status = con.connect (sock, nobody_home, &nonblock);  // Need a port that will fail.  ACE_ASSERT (status == -1);  // On some systems, a failed connect to localhost will return  // ECONNREFUSED or ENETUNREACH directly, instead of  // EWOULDBLOCK. That is also fine.  if (errno == EWOULDBLOCK || errno == ECONNREFUSED || errno == ENETUNREACH)    {      if (sock.get_handle () != ACE_INVALID_HANDLE)        status = con.complete (sock);      if (status != -1)        {          ACE_DEBUG ((LM_DEBUG,                      ASYS_TEXT ("Connect which should fail didn't\n")));          status = -1;        }      else        {          ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("%p\n"),                      ASYS_TEXT ("Proper fail")));          status = 0;        }    }  else    {      ACE_DEBUG ((LM_DEBUG,                  ASYS_TEXT ("Test not executed fully; "                             "expected EWOULDBLOCK, %p (%d)\n"),                  ASYS_TEXT ("not"), errno));      status = -1;    }  // Just in case.  sock.close ();  return status;}