[libvirt] [PATCH v2] test: fix nwfilter tests following changes in virfirewall.c

Stefan Berger stefanb at linux.vnet.ibm.com
Wed Nov 26 18:18:53 UTC 2014


On 11/26/2014 11:53 AM, Eric Blake wrote:
> On 11/26/2014 09:26 AM, Stefan Berger wrote:
>> Some of the nwfilter tests are now failing since --concurrent shows
>> up in the ebtables command. To avoid this, implement a function
>> preventing the probing for lock support in the eb/iptables tools
>> and use it in the tests.
> Now that I've read Martin and Prerna's exchange, I'm wondering if we
> should instead make this override force the locking flags ON, and adjust
> the expected test output to expect the -w/--concurrent.
>

Not sure... this patch is definitely 'simpler' and that one call we add 
to virsocket.h would only to be called by test cases. What we would test 
if we considered the --concurrent and -w flag is basically not much, 
just that some probing happened.


Regards,
    Stefan




More information about the libvir-list mailing list