aboutsummaryrefslogtreecommitdiff
path: root/spec/util_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/util_spec.lua')
-rw-r--r--spec/util_spec.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/util_spec.lua b/spec/util_spec.lua
index 26e93e14..cbdde095 100644
--- a/spec/util_spec.lua
+++ b/spec/util_spec.lua
@@ -53,20 +53,6 @@ describe("Basic tests #integration", function()
53 assert.is.truthy(run.luarocks("--only-server=testing")) 53 assert.is.truthy(run.luarocks("--only-server=testing"))
54 end) 54 end)
55 55
56 it("#only LuaRocks test site config", function()
57 local scname = testing_paths.src_dir .. "/luarocks/core/site_config_"..test_env.lua_version:gsub("%.", "_")..".lua"
58
59 assert.is.truthy(os.rename(scname, scname..".tmp"))
60 assert.is.falsy(lfs.attributes(scname))
61 assert.is.truthy(lfs.attributes(scname..".tmp"))
62
63 assert.is.truthy(run.luarocks(""))
64
65 assert.is.truthy(os.rename(scname..".tmp", scname))
66 assert.is.falsy(lfs.attributes(scname..".tmp"))
67 assert.is.truthy(lfs.attributes(scname))
68 end)
69
70end) 56end)
71 57
72test_env.unload_luarocks() 58test_env.unload_luarocks()