Re: [RFC nft PATCH 0/3] new test suite

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

 



On Fri, Oct 09, 2015 at 02:38:06PM +0200, Arturo Borrero Gonzalez wrote:
> Hi,
> 
> I suggest a testsuite like this, which can test higher level operations,
> so more tests can be performed to the code apart of the regression tests:
>  * listings/filterings
>  * deletions/flushes
>  * monitor operations
>  * ruleset loadings with -f
>  * interactive interface with -i (perhaps)

I started something similar here locally.

We can probably rearrange the directory to something like:

tests
  |
  .--- py
  .--- shell
  .--- files

So under tests/py/ we get the python-based infrastructure, then shell
includes shell scripts for your test cases. The files directory should
contain files that we can load via 'nft -f'.

That should be pretty much covering all paths of the command line
interface.

> In patch 1/3 there is a description of this simple testbed.
> 
> If you like the idea I would be happy to add more tests cases.

I think it's good idea to enhance the test infrastructure to catch
regressions on as many fronts as possible.
--
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