diff options
| author | Jo-Philipp Wich | 2022-02-08 18:22:55 +0000 |
|---|---|---|
| committer | Jo-Philipp Wich | 2022-02-08 18:22:55 +0000 |
| commit | 3eacc97415f877f3a20d1fd9771318041c6d6f8a (patch) | |
| tree | 55ed3ca7a15dfc3c253c65f01e31b49c7521e5fb | |
| parent | a0518b6d0273ad3267e65953e52989a1589fefab (diff) | |
| download | firewall4-3eacc97415f877f3a20d1fd9771318041c6d6f8a.tar.gz | |
tests: adjust 01_ruleset test case to latest changes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
| -rw-r--r-- | tests/01_configuration/01_ruleset | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/01_configuration/01_ruleset b/tests/01_configuration/01_ruleset index 879bdbf..8b4e0ce 100644 --- a/tests/01_configuration/01_ruleset +++ b/tests/01_configuration/01_ruleset @@ -301,6 +301,7 @@ table inet fw4 { [call] fs.opendir path </sys/class/net/eth0> [call] fs.opendir path </sys/class/net/eth1> [call] fs.opendir path </sys/class/net/eth1> +[call] system command </usr/sbin/nft -c 'add table inet fw4-hw-offload-test; add flowtable inet fw4-hw-offload-test ft { hook ingress priority 0; devices = { "eth0", "eth1" }; flags offload; }' 2>/dev/null> timeout <null> [call] fs.popen cmdline </usr/sbin/nft --terse --json list flowtables inet> mode <r> [call] fs.open path </sys/class/net/br-lan/flags> mode <r> [call] fs.open path </sys/class/net/br-lan/flags> mode <r> |