fw4: support automatic includes
[project/firewall4.git] / tests / 01_configuration / 01_ruleset
index 1bf8f721de92f972a878452a2134d88bdc922010..06249f257910040eb704e7d611bad69dc55d7131 100644 (file)
@@ -303,6 +303,12 @@ table inet fw4 {
 [!] Section @defaults[0] specifies unknown option 'unknown_defaults_option'
 [!] Section @rule[9] (Test-Deprecated-Rule-Option) option '_name' is deprecated by fw4
 [!] Section @rule[9] (Test-Deprecated-Rule-Option) specifies unknown option 'unknown_rule_option'
+[call] fs.glob pattern </usr/share/nftables.d/ruleset-pre//*.nft>
+[call] fs.glob pattern </usr/share/nftables.d/ruleset-post//*.nft>
+[call] fs.glob pattern </usr/share/nftables.d/table-pre//*.nft>
+[call] fs.glob pattern </usr/share/nftables.d/table-post//*.nft>
+[call] fs.lsdir path </usr/share/nftables.d/chain-pre>
+[call] fs.lsdir path </usr/share/nftables.d/chain-post>
 [call] ctx.call object <network.device> method <status> args <null>
 [call] fs.opendir path </sys/class/net/br-lan>
 [call] fs.opendir path </sys/class/net/eth0>