]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/monitor: Ignore newgen messages in output
authorPhil Sutter <phil@nwl.cc>
Tue, 25 Jul 2017 14:56:24 +0000 (16:56 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 25 Jul 2017 15:58:22 +0000 (17:58 +0200)
commitf9158151f368b009bed2ef3da4ea252014ab11f1
treeed17fcdffba305434245d7d1144084f518cadcbc
parente8f4fdb0097769cab0c1f7b56f610d05dbae43bc
tests/monitor: Ignore newgen messages in output

Predicting the new ID value is not feasible and neither is implementing
support for regular expressions when matching monitor output, so simply
ignore them.

Also use diff option '-w' instead of '-Z' to ignore all whitespace, not
just at EOL.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/monitor/run-tests.sh