aboutsummaryrefslogtreecommitdiff
path: root/spec/util_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-03-30 15:21:05 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-03-30 19:52:17 -0300
commit43adf5df7465c39a9f6fc735654aabac991cabb5 (patch)
tree2b8a4e93bc2334a5f546cba9dcad4cb99332576e /spec/util_spec.lua
parentad4b4b29a7af9c8df859781dab51ef38a9a9895d (diff)
downloadluarocks-43adf5df7465c39a9f6fc735654aabac991cabb5.tar.gz
luarocks-43adf5df7465c39a9f6fc735654aabac991cabb5.tar.bz2
luarocks-43adf5df7465c39a9f6fc735654aabac991cabb5.zip
Tests: make sure tests run from testrun/
Diffstat (limited to '')
-rw-r--r--spec/util_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/util_spec.lua b/spec/util_spec.lua
index 3aa8fbf5..209dae6f 100644
--- a/spec/util_spec.lua
+++ b/spec/util_spec.lua
@@ -53,9 +53,9 @@ describe("Basic tests #blackbox #b_util", function()
53 it("LuaRocks only server=testing", function() 53 it("LuaRocks only server=testing", function()
54 assert.is.truthy(run.luarocks("--only-server=testing")) 54 assert.is.truthy(run.luarocks("--only-server=testing"))
55 end) 55 end)
56 56
57 it("LuaRocks test site config", function() 57 it("#only LuaRocks test site config", function()
58 local scname = "src/luarocks/core/site_config_"..test_env.lua_version:gsub("%.", "_")..".lua" 58 local scname = testing_paths.src_dir .. "/luarocks/core/site_config_"..test_env.lua_version:gsub("%.", "_")..".lua"
59 59
60 assert.is.truthy(os.rename(scname, scname..".tmp")) 60 assert.is.truthy(os.rename(scname, scname..".tmp"))
61 assert.is.falsy(lfs.attributes(scname)) 61 assert.is.falsy(lfs.attributes(scname))