openafs/tests/volser
Marc Dionne 0a528a52f5 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>
2013-02-17 20:51:15 -08:00
..
.gitignore tests: Add tests for the vlserver 2011-07-17 22:26:15 -07:00
Makefile.in TESTS: Skip the volser tests if current hostname maps to the loopback network 2012-09-26 06:46:27 -07:00
vos-man-t Introduce TAP tests of man pages for command_subcommand 2011-06-28 12:52:28 -07:00
vos-t.c tests: Improve failure mode for unresolvable hostname 2013-02-17 20:51:15 -08:00