Rework LuCI build system
[project/luci.git] / libs / nixio / axTLS / www / lua / test_sql.lua
diff --git a/libs/nixio/axTLS/www/lua/test_sql.lua b/libs/nixio/axTLS/www/lua/test_sql.lua
deleted file mode 100644 (file)
index 085ce97..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-local s = require"luasql.postgres"
-
-local env = assert (luasql.postgres ())
-local conn = assert (env:connect ("luasql-test", "tomas"))
-local cur = assert (conn:execute ("select count(*) from fetch_test"))
-
-cgilua.htmlheader()
-cgilua.put ("Total lines at table fetch_test is "..cur:fetch())
-cgilua.put (string.format ("<br>\n%s == %s<br>\n", tostring(s), tostring(luasql)))
-
-cur:close()
-conn:close()
-env:close()