guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, master, updated. release_1-9-7-65-g2fe


From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-7-65-g2fe5eb5
Date: Sun, 14 Feb 2010 23:43:33 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=2fe5eb561c02ceda6e9244e14c68b2072fb94eb5

The branch, master has been updated
       via  2fe5eb561c02ceda6e9244e14c68b2072fb94eb5 (commit)
      from  40ff484d80ef3bf3706262e6fcc5178e8239f60d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2fe5eb561c02ceda6e9244e14c68b2072fb94eb5
Author: Ludovic Courtès <address@hidden>
Date:   Mon Feb 15 00:43:20 2010 +0100

    Make the `getaddrinfo' "no name" test more robust.
    
    * test-suite/tests/net-db.test ("getaddrinfo")["no name"]: Check for
      `EAI_EAGAIN' too.

-----------------------------------------------------------------------

Summary of changes:
 test-suite/tests/net-db.test |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/test-suite/tests/net-db.test b/test-suite/tests/net-db.test
index e1f7c08..23a534d 100644
--- a/test-suite/tests/net-db.test
+++ b/test-suite/tests/net-db.test
@@ -61,7 +61,10 @@
             (getaddrinfo "does-not-exist")
             #f)
           (lambda (key errcode)
-            (and (= errcode EAI_NONAME)
+            ;; In some cases (e.g., in a chroot without
+            ;; /etc/{hosts,resolv.conf}), this can result in `EAI_EAGAIN'.
+            (and (or (= errcode EAI_NONAME)
+                     (= errcode EAI_AGAIN))
                  (string? (gai-strerror errcode))))))
 
       (pass-if "wrong service name"


hooks/post-receive
-- 
GNU Guile




reply via email to

[Prev in Thread] Current Thread [Next in Thread]