From 018bda360240396a693e8ed1e29d69d0cc493fb7 Mon Sep 17 00:00:00 2001 From: Brian McCallister Date: Mon, 15 Jun 2009 03:10:00 +0000 Subject: [PATCH] remove unusable test file git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@784642 13f79535-47bb-0310-9956-ffa450edef68 --- modules/lua/test/httpd_config.lua | 64 ------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 modules/lua/test/httpd_config.lua diff --git a/modules/lua/test/httpd_config.lua b/modules/lua/test/httpd_config.lua deleted file mode 100644 index c4d08f424a..0000000000 --- a/modules/lua/test/httpd_config.lua +++ /dev/null @@ -1,64 +0,0 @@ --- require 'string' --- require 'apache2.config' - -function configure(cmd, dir) - dir:match_handler { - pattern = "^/server-says-hi$", - file = "htdocs/config_tests.lua", - func = "handle_server_vm", - scope = "server", - -- options = { - -- minimum_idle = 10, - -- maximum_idle = 20 - -- } - } - - - dir:match_handler { - pattern = "^/super-basic-config$", - file = "htdocs/config_tests.lua" - } - --[[ - LuaMapHandler /basic /Users/brianm/src/wombat/test/htdocs/test.lua - LuaMapHandler /filter/simple /Users/brianm/src/wombat/test/htdocs/filters.lua handle_simple - LuaMapHandler ^/(\w+)_(\w+)$ /Users/brianm/src/wombat/test/htdocs/$1.lua handle_$2 - ]]-- - - dir:match_handler { - pattern = "^/simple$", - file = "htdocs/simple.lua" - } - - dir:match_handler { - pattern = "^/filter/simple$", - file = "htdocs/filters.lua", - func = "handle_simple" - } - - dir:match_handler { - pattern = "^/(\\w+)_(\\w+)$", - file = "htdocs/$1.lua", - func = "handle_$2" - } - - dir:match_handler { - pattern = "^/request-says-hi$", - file = "/Users/brianm/src/wombat/test/htdocs/config_tests.lua", - func = "handle_request_vm", - scope = "request" - } - - dir:match_handler { - pattern = "^/connection-says-hi$", - file = "/Users/brianm/src/wombat/test/htdocs/test.lua", - func = "handle_conn_vm", - scope = "connection" - } - - -- dir:lua_match_handler { - -- pattern = "^/once-says-hi$", - -- file = "/Users/brianm/src/wombat/test/htdocs/test.lua", - -- func = "handle_configure_server", - -- scope = "tests" - -- } -end -- 2.40.0