netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nft PATCH v2 0/2] monitor: Fix printing of range elements in named sets
@ 2017-07-17 15:06 Phil Sutter
  2017-07-17 15:06 ` [nft PATCH 1/2] monitor: Rewrite SETELEM callback Phil Sutter
  2017-07-17 15:06 ` [nft PATCH 2/2] tests: Add basic monitor testing framework Phil Sutter
  0 siblings, 2 replies; 10+ messages in thread
From: Phil Sutter @ 2017-07-17 15:06 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel, Arturo Borrero Gonzalez

This is supposed to be v2 of my patch series sent earlier, but it turned
into a complete rewrite of the whole SETELEM callback and so there is no
reuse of former changes.

The second patch adds a simple testbench for 'nft monitor' output which
helped me quite a lot to get things right.

Phil Sutter (2):
  monitor: Rewrite SETELEM callback
  tests: Add basic monitor testing framework

 src/netlink.c                          | 272 ++++++++++++++++++++++++++-------
 tests/monitor/run-tests.sh             |  78 ++++++++++
 tests/monitor/testcases/set-mixed.t    |  21 +++
 tests/monitor/testcases/set-multiple.t |  15 ++
 tests/monitor/testcases/set-simple.t   |  49 ++++++
 5 files changed, 382 insertions(+), 53 deletions(-)
 create mode 100755 tests/monitor/run-tests.sh
 create mode 100644 tests/monitor/testcases/set-mixed.t
 create mode 100644 tests/monitor/testcases/set-multiple.t
 create mode 100644 tests/monitor/testcases/set-simple.t

-- 
2.13.1


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

end of thread, other threads:[~2017-07-18 14:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17 15:06 [nft PATCH v2 0/2] monitor: Fix printing of range elements in named sets Phil Sutter
2017-07-17 15:06 ` [nft PATCH 1/2] monitor: Rewrite SETELEM callback Phil Sutter
2017-07-17 16:30   ` Pablo Neira Ayuso
2017-07-17 16:41     ` Phil Sutter
2017-07-17 17:16       ` Pablo Neira Ayuso
2017-07-18  9:05         ` Phil Sutter
2017-07-18  9:09           ` Pablo Neira Ayuso
2017-07-18  9:17             ` Phil Sutter
2017-07-18 14:32               ` Pablo Neira Ayuso
2017-07-17 15:06 ` [nft PATCH 2/2] tests: Add basic monitor testing framework Phil Sutter

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).