netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC nft PATCH 0/3] new test suite
@ 2015-10-09 12:38 Arturo Borrero Gonzalez
  2015-10-09 12:38 ` [RFC nft PATCH 1/3] tests: add operations test-suite Arturo Borrero Gonzalez
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Arturo Borrero Gonzalez @ 2015-10-09 12:38 UTC (permalink / raw)
  To: netfilter-devel; +Cc: fw, kaber, pablo

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)

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.

---

Arturo Borrero Gonzalez (3):
      tests: add operations test-suite
      tests/operations: add maps tests cases
      tests/operations: add tests for handles and comments


 tests/operations/README                            |   23 ++++++
 tests/operations/run-operations-tests.sh           |   72 ++++++++++++++++++++
 .../operations/testcases/maps/anonymous_snat_map_0 |    7 ++
 tests/operations/testcases/maps/named_snat_map_0   |    9 +++
 tests/operations/testcases/optionals/comments_0    |    9 +++
 .../testcases/optionals/comments_handles_0         |   11 +++
 .../testcases/optionals/comments_handles_monitor_0 |   21 ++++++
 tests/operations/testcases/optionals/handles_0     |    9 +++
 tests/operations/testcases/optionals/handles_1     |    9 +++
 9 files changed, 170 insertions(+)
 create mode 100644 tests/operations/README
 create mode 100755 tests/operations/run-operations-tests.sh
 create mode 100755 tests/operations/testcases/maps/anonymous_snat_map_0
 create mode 100755 tests/operations/testcases/maps/named_snat_map_0
 create mode 100755 tests/operations/testcases/optionals/comments_0
 create mode 100755 tests/operations/testcases/optionals/comments_handles_0
 create mode 100755 tests/operations/testcases/optionals/comments_handles_monitor_0
 create mode 100755 tests/operations/testcases/optionals/handles_0
 create mode 100755 tests/operations/testcases/optionals/handles_1

--

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-09 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09 12:38 [RFC nft PATCH 0/3] new test suite Arturo Borrero Gonzalez
2015-10-09 12:38 ` [RFC nft PATCH 1/3] tests: add operations test-suite Arturo Borrero Gonzalez
2015-10-09 12:38 ` [RFC nft PATCH 2/3] tests/operations: add maps tests cases Arturo Borrero Gonzalez
2015-10-09 12:38 ` [RFC nft PATCH 3/3] tests/operations: add tests for handles and comments Arturo Borrero Gonzalez
2015-10-09 12:52 ` [RFC nft PATCH 0/3] new test suite Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).