summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/test.lua2
-rw-r--r--server/test/main.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/test.lua b/server/test.lua
index d6fd9f48..a944c8f0 100644
--- a/server/test.lua
+++ b/server/test.lua
@@ -7,7 +7,7 @@ package.cpath = rootPath .. 'bin/?.so'
.. ';' .. rootPath .. 'bin/?.dll'
package.path = rootPath .. 'src/?.lua'
.. ';' .. rootPath .. 'src/?/init.lua'
-error '测试'
+
local fs = require 'bee.filesystem'
local subprocess = require 'bee.subprocess'
ROOT = fs.absolute(fs.path(rootPath))
diff --git a/server/test/main.lua b/server/test/main.lua
index a7152883..85885783 100644
--- a/server/test/main.lua
+++ b/server/test/main.lua
@@ -12,7 +12,7 @@ log = require 'log'
log.init(ROOT, ROOT / 'log' / 'test.log')
log.debug('测试开始')
ac = {}
-
+error '测试'
require 'utility'
require 'global_protect'
require 'build_package'