diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-22 19:54:36 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-05 16:30:15 +0100 |
commit | b81ebeb917a33afcaa2e8147a2fb2b6e01f49330 (patch) | |
tree | 3944dbb03c88c4414905ac5011cf54581d77e18e /tests/shell/testcases/flowtable/0003add_after_flush_0 | |
parent | fa42f2118746f35ae6883ef5b0d4758863282fc9 (diff) |
tests: shell: add flowtable tests
Add basic flowtable tests.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/flowtable/0003add_after_flush_0')
-rwxr-xr-x | tests/shell/testcases/flowtable/0003add_after_flush_0 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/shell/testcases/flowtable/0003add_after_flush_0 b/tests/shell/testcases/flowtable/0003add_after_flush_0 new file mode 100755 index 00000000..1f3cb18a --- /dev/null +++ b/tests/shell/testcases/flowtable/0003add_after_flush_0 @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e +$NFT add table x +$NFT add flowtable x y { hook ingress priority 0\; devices = { eth0, wlan0 }\;} +$NFT flush ruleset +$NFT add table x +$NFT add flowtable x y { hook ingress priority 0\; devices = { eth0, wlan0 }\;} |