OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3390-g0a528a5

Gerrit Code Review gerrit@openafs.org
Sun, 17 Feb 2013 20:51:52 -0800 (PST)


The following commit has been merged in the master branch:
commit 0a528a52f5da5e225567f3b9deab9f7d08022f9f
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date:   Sun Feb 17 13:29:38 2013 -0500

    tests: Improve failure mode for unresolvable hostname
    
    In the case of a host where gethostbyname is unable to resolve
    the hostname, afstest_BuildTestConfig() may return NULL which
    can cause several tests to crash.
    
    Add a common function to look out for this condition and use it where
    appropriate.  When it occurs, the current module is skipped and
    the user gets an error message that indicates the configuration
    problem.
    
    Change-Id: I7216876eb2424368f415e5759e2b95009ad055b2
    Reviewed-on: http://gerrit.openafs.org/9120
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 tests/auth/Makefile.in   |   16 ++++++++--------
 tests/auth/authcon-t.c   |    2 ++
 tests/auth/keys-t.c      |    2 ++
 tests/auth/realms-t.c    |    2 ++
 tests/auth/superuser-t.c |    2 ++
 tests/common/common.h    |    1 +
 tests/common/config.c    |    1 +
 tests/common/network.c   |   19 +++++++++++++++++++
 tests/volser/vos-t.c     |    6 ++++--
 9 files changed, 41 insertions(+), 10 deletions(-)

-- 
OpenAFS Master Repository