File coreutils-getaddrinfo.diff of Package coreutils

Index: coreutils-6.9.90/gnulib-tests/test-getaddrinfo.c
================================================================================
--- coreutils-7.1/gnulib-tests/test-getaddrinfo.c
+++ coreutils-7.1/gnulib-tests/test-getaddrinfo.c
@@ -71,10 +71,7 @@ int simple (char *host, char *service)
 	 the test merely because someone is down the country on their
 	 in-law's farm. */
       if (res == EAI_AGAIN)
-	{
-	  fprintf (stderr, "skipping getaddrinfo test: no network?\n");
-	  return 77;
-	}
+	return 0;
       /* IRIX reports EAI_NONAME for "https".  Don't fail the test
 	 merely because of this.  */
       if (res == EAI_NONAME)
openSUSE Build Service is sponsored by