fw4: fix handling the ipset "comment" option
[project/firewall4.git] / tests / 05_includes / 03_script_includes
diff --git a/tests/05_includes/03_script_includes b/tests/05_includes/03_script_includes
deleted file mode 100644 (file)
index 3eeea31..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-Testing the execution of include scripts.
-
--- Testcase --
-{%
-       include("./root/usr/share/firewall4/main.uc", {
-               TRACE_CALLS: "stderr",
-
-               getenv: function(varname) {
-                       switch (varname) {
-                       case 'ACTION':
-                               return 'includes';
-                       }
-               }
-       })
-%}
--- End --
-
--- File fs/open~_var_run_fw4_state.txt --
-{
-       "includes": [
-               {
-                       "enabled": true,
-                       "path": "/usr/share/miniupnpd/firewall.include",
-                       "type": "script",
-                       "fw4_compatible": true,
-                       "position": "table-append"
-               },
-
-               {
-                       "enabled": true,
-                       "path": "/etc/example.sh",
-                       "type": "script",
-                       "fw4_compatible": true,
-                       "position": "table-append"
-               }
-       ]
-}
--- End --
-
--- Expect stderr --
-[call] fs.open path </var/run/fw4.state> mode <r>
-[call] system command <[ "sh", "-c", "exec 1000>&-; config() { echo \"You cannot use UCI in firewall in..." ]> timeout <30000>
-[call] system command <[ "sh", "-c", "exec 1000>&-; config() { echo \"You cannot use UCI in firewall in..." ]> timeout <30000>
--- End --