tests: adjust 01_ruleset test case to latest changes
[project/firewall4.git] / tests / 01_configuration / 01_ruleset
index 879bdbf66596c05df78ce99debfcfcf912d203b7..8b4e0cea4515c31c084c9fc5e2b1cc4125923daf 100644 (file)
@@ -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>