[SSSD] [PATCH] Do not run negative resolv test with no network

Jakub Hrozek jhrozek at redhat.com
Thu Mar 4 17:27:18 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/04/2010 06:03 PM, Martin Nagy wrote:
> On Wed, 2010-03-03 at 14:49 +0100, Jakub Hrozek wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> One of our resolv tests tries to resolve a nonexistent hostname. Do not
>> run this test unless we are explicitly told that a network connection
>> is available (-n).
>>
>> Our tests now pass with no network.
> 
> ACK
> 
> Martin
>

The attached patch also moves the localhost test into the networked
tests so we can safely build on systems that lack the localhost
definition in /etc/hosts.

Also prints a warning when running in non-networked mode.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuP7XYACgkQHsardTLnvCXa5QCfYTmKAc+QI3OhyF+sHqpRXHTd
hHwAn1BDi4LUaJWgCgNFgc5PKUFJRSGr
=pipc
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-run-negative-resolv-test-with-no-network.patch
Type: text/x-patch
Size: 1760 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100304/fb581f0a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-run-negative-resolv-test-with-no-network.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100304/fb581f0a/attachment.sig>


More information about the sssd-devel mailing list