Re: [iptables PATCH] tests: Fix skipping for recent nft-only tests

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

 



On Thu, Aug 09, 2018 at 09:23:48PM +0200, Florian Westphal wrote:
> Florian Westphal <fw@xxxxxxxxx> wrote:
> > Phil Sutter <phil@xxxxxx> wrote:
> > > In an attempt to sanitize shell scripting, exit test in recent testcases
> > > was altered, which led to them being skipped even in nft test runs. Drop
> > > the quotes so that globbing happens again.
> > 
> > Are the tests supposed to pass with current master?
> > GNU bash, version 4.4.23(1)-release (x86_64-redhat-linux-gnu)
> > 
> > W: [FAILED] ./iptables/tests/shell/testcases/ebtables/0002-ebtables-save-restore_0: expected 0 but got 255
> > W: [FAILED] ./iptables/tests/shell/testcases/ebtables/0003-ebtables-restore-defaults_0: expected 0 but got 255
> 
> This is actually a kernel error:
> -p IPv6 --ip6-proto tcp -j ACCEPT
> RULE_APPEND failed (Invalid argument): rule in chain foo.
> 
> I will try with a more recent one.

Got it! The problem is ebt_limit.ko is not automatically loaded as it
should. I noticed that problem once but forgot about it again. If you
manually modprobe ebt_limit before running the testsuite, it should all
pass.

Cheers, Phil
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux