]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: Fall back on host/getent in ts_resolve_host
authorAndreas Henriksson <andreas@fatal.se>
Thu, 24 Jul 2014 19:28:44 +0000 (21:28 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Jul 2014 09:09:52 +0000 (11:09 +0200)
commiteee79f284382cff628672292e8a0f2bb908ac452
tree7a40e82272bfc66de296198dd479f11bb67ce0b4
parentada74f3f322e672ed4f546eec0b7539566e09a90
tests: Fall back on host/getent in ts_resolve_host

Neither dig or nslookup would be my first option for resolving,
so add the host utility of ISC/bind fame and the (slow) getent
utility shipped with libc.

This extends the conditions introduced in ...

  commit a98de9696e1a898f925c9154e5693e73aec0779d
  Author: Ruediger Meier <ruediger.meier@ga-group.nl>
  Date:   Wed Jun 11 19:28:20 2014 +0200

      tests: skip some last tests if no dns support

... and should help us not skip certain tests when we have
network connection but none of dig or nslookup available.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
tests/functions.sh