aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_environment.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_environment.lua b/test/test_environment.lua
index 13e548f9..c26c1e87 100644
--- a/test/test_environment.lua
+++ b/test/test_environment.lua
@@ -361,7 +361,7 @@ local function reset_environment(testing_paths, md5sums)
361end 361end
362 362
363local function create_paths(luaversion_full) 363local function create_paths(luaversion_full)
364 local cfg = require("luarocks.cfg") 364 local cfg = require("luarocks.core.cfg")
365 365
366 local testing_paths = {} 366 local testing_paths = {}
367 testing_paths.luadir = cfg.variables.LUA_BINDIR:gsub("/bin/?$", "") 367 testing_paths.luadir = cfg.variables.LUA_BINDIR:gsub("/bin/?$", "")
@@ -409,7 +409,7 @@ function test_env.setup_specs(extra_rocks)
409 test_env.main() 409 test_env.main()
410 package.path = test_env.env_variables.LUA_PATH 410 package.path = test_env.env_variables.LUA_PATH
411 411
412 test_env.platform = execute_output(test_env.testing_paths.lua .. " -e 'print(require(\"luarocks.cfg\").arch)'", false, test_env.env_variables) 412 test_env.platform = execute_output(test_env.testing_paths.lua .. " -e 'print(require(\"luarocks.core.cfg\").arch)'", false, test_env.env_variables)
413 test_env.md5sums = create_md5sums(test_env.testing_paths) 413 test_env.md5sums = create_md5sums(test_env.testing_paths)
414 test_env.setup_done = true 414 test_env.setup_done = true
415 title("RUNNING TESTS") 415 title("RUNNING TESTS")