mod_firewall/mod_firewall.lua
changeset 2589 02c6ae745c4f
parent 2588 d64fc9c3cffd
child 2863 22e11645a895
--- a/mod_firewall/mod_firewall.lua	Sun Feb 26 09:50:16 2017 +0000
+++ b/mod_firewall/mod_firewall.lua	Sun Feb 26 09:58:07 2017 +0000
@@ -672,6 +672,11 @@
 	local verbose = arg[1] == "-v";
 	if verbose then table.remove(arg, 1); end
 
+	if arg[1] == "test" then
+		table.remove(arg, 1);
+		return module:require("test")(arg);
+	end
+
 	local serialize = require "util.serialization".serialize;
 	if verbose then
 		print("local logger = require \"util.logger\".init;");