aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-10-19 12:58:53 -0400
committerHisham <hisham@gobolinux.org>2016-10-19 12:58:53 -0400
commit25b934ef93bd2bf434c268db8e2a099bfa4e0a2e (patch)
tree34d464b63bd327774cc4b48e4d435a99d0991ddc /spec
parent66a4d40893199fbee5eed5abd3c91aad0a3cce2b (diff)
parent5c6eb8604fe5aee3088096ef808399f847fb24a0 (diff)
downloadluarocks-25b934ef93bd2bf434c268db8e2a099bfa4e0a2e.tar.gz
luarocks-25b934ef93bd2bf434c268db8e2a099bfa4e0a2e.tar.bz2
luarocks-25b934ef93bd2bf434c268db8e2a099bfa4e0a2e.zip
Merge branch 'master' into luarocks-3
Diffstat (limited to 'spec')
-rw-r--r--spec/install_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua
index 45b3e2f9..2bbf4221 100644
--- a/spec/install_spec.lua
+++ b/spec/install_spec.lua
@@ -20,7 +20,7 @@ local extra_rocks = {
20 "/say-1.0-1.src.rock", 20 "/say-1.0-1.src.rock",
21 "/wsapi-1.6-1.src.rock", 21 "/wsapi-1.6-1.src.rock",
22 "/luafilesystem-1.6.3-2.src.rock", 22 "/luafilesystem-1.6.3-2.src.rock",
23 "/luafilesystem-1.6.1-1.src.rock", 23 "/luafilesystem-1.6.3-1.src.rock",
24} 24}
25 25
26describe("LuaRocks install tests #blackbox #b_install", function() 26describe("LuaRocks install tests #blackbox #b_install", function()
@@ -87,12 +87,12 @@ describe("LuaRocks install tests #blackbox #b_install", function()
87 it('LuaRocks install - handle versioned modules when installing another version with --keep #268', function() 87 it('LuaRocks install - handle versioned modules when installing another version with --keep #268', function()
88 assert.is_true(run.luarocks_bool("install luafilesystem")) 88 assert.is_true(run.luarocks_bool("install luafilesystem"))
89 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/lfs."..test_env.lib_extension)) 89 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/lfs."..test_env.lib_extension))
90 assert.is_true(run.luarocks_bool("install luafilesystem 1.6.1 --keep")) 90 assert.is_true(run.luarocks_bool("install luafilesystem 1.6.3-1 --keep"))
91 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/lfs."..test_env.lib_extension)) 91 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/lfs."..test_env.lib_extension))
92 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/luafilesystem_1_6_1_1-lfs."..test_env.lib_extension)) 92 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/luafilesystem_1_6_3_1-lfs."..test_env.lib_extension))
93 assert.is_true(run.luarocks_bool("install luafilesystem")) 93 assert.is_true(run.luarocks_bool("install luafilesystem"))
94 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/lfs."..test_env.lib_extension)) 94 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/lfs."..test_env.lib_extension))
95 assert.is.falsy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/luafilesystem_1_6_1_1-lfs."..test_env.lib_extension)) 95 assert.is.falsy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/lua/"..env_variables.LUA_VERSION.."/luafilesystem_1_6_3_1-lfs."..test_env.lib_extension))
96 end) 96 end)
97 97
98 it("LuaRocks install only-deps of luasocket packed rock", function() 98 it("LuaRocks install only-deps of luasocket packed rock", function()