Re: [PATCH] tests: Improve IPv6 detection for virNetSocket tests

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

 



2011/6/24 Eric Blake <eblake@xxxxxxxxxx>:
> On 06/24/2011 09:39 AM, Matthias Bolte wrote:
>> getifaddrs can return an IPv6 address, but getaddrinfo can fail
>> for an IPv6 address. Cover this combination.
>> ---
>>
>> This is only tested on my system with broken IPv6. Could someone test this
>> on an IPv6 capable system and ensure that the IPv6 tests aren't skipped now
>> by running
>>
>>   cd tests
>>   make virnetsockettest
>>   PATH=`pwd`:$PATH LIBVIRT_DEBUG=1 ./virnetsockettest
>>
>> This should print something like this
>>
>>   17:35:09.810: 4102: debug : checkProtocols:83 : Protocols: v4 1 v6 1
>>
>> on an IPv6 capable system.
>
> Done, and worked for me.
>
> ACK to the patch.
>

Thanks, pushed.

-- 
Matthias Bolte
http://photron.blogspot.com

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]