]> granicus.if.org Git - apache/commitdiff
remove unusable test file
authorBrian McCallister <brianm@apache.org>
Mon, 15 Jun 2009 03:10:00 +0000 (03:10 +0000)
committerBrian McCallister <brianm@apache.org>
Mon, 15 Jun 2009 03:10:00 +0000 (03:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@784642 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/test/httpd_config.lua [deleted file]

diff --git a/modules/lua/test/httpd_config.lua b/modules/lua/test/httpd_config.lua
deleted file mode 100644 (file)
index c4d08f4..0000000
+++ /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