diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-12 16:38:19 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-13 13:03:03 +0100 |
commit | 8bbf030baa8169312e81c5a43a5ee2adfeb925d5 (patch) | |
tree | 89d081f78d9c16111aaee617751447a77c71edd8 /tests/py/inet/tcp.t.payload.inet | |
parent | 85d6803b3fc3f80cd84ce1fe74c0c46c732438a4 (diff) |
tests/py: don't test log statement from protocol match
I think this unit tests should be self-contained at some level. The
shell/ directory should be used to catch regressions at ruleset level,
ie. these kind of combinations.
Another motivation is that I want that netdev/ingress gets tested
(coming in a follow up patch), and we don't support log there yet, so I
would need to skip this test for that case.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/tcp.t.payload.inet')
-rw-r--r-- | tests/py/inet/tcp.t.payload.inet | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/py/inet/tcp.t.payload.inet b/tests/py/inet/tcp.t.payload.inet index 21b21abc..5d54f876 100644 --- a/tests/py/inet/tcp.t.payload.inet +++ b/tests/py/inet/tcp.t.payload.inet @@ -381,15 +381,6 @@ inet test-inet input [ payload load 2b @ transport header + 14 => reg 1 ] [ lookup reg 1 set set%d ] -# tcp checksum 23456 log drop -inet test-inet input - [ meta load l4proto => reg 1 ] - [ cmp eq reg 1 0x00000006 ] - [ payload load 2b @ transport header + 16 => reg 1 ] - [ cmp eq reg 1 0x0000a05b ] - [ log prefix (null) ] - [ immediate reg 0 drop ] - # tcp checksum 22 inet test-inet input [ meta load l4proto => reg 1 ] |