[libvirt] [PATCH] tests: skip virfirewalltest on non-Linux systems

Roman Bogorodskiy bogorodskiy at gmail.com
Fri May 2 09:47:32 UTC 2014


  Daniel P. Berrange wrote:

> On Thu, May 01, 2014 at 10:51:02PM +0400, Roman Bogorodskiy wrote:
> > Currently firewalling is supported on Linux only, so skip the
> > virfirewalltest on other platforms.
> > ---
> >  tests/virfirewalltest.c | 58 +++++++++++++++++++++++++++++--------------------
> >  1 file changed, 35 insertions(+), 23 deletions(-)
> 
> This code is actually intended to be portable across all platforms.
> 
> What actual problem are you seeing.

I get:

TEST: virfirewalltest
 1) single group auto direct
 ... libvirt: Firewall error : direct firewall backend requested, but /sbin/iptables is not available: No such file or directory
 FAILED

All the other tests fail with the same error.

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140502/58ed22b1/attachment-0001.sig>


More information about the libvir-list mailing list