diff options
Diffstat (limited to '')
-rw-r--r-- | spec/install_spec.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua index 74f8f493..92b780d3 100644 --- a/spec/install_spec.lua +++ b/spec/install_spec.lua | |||
@@ -83,9 +83,9 @@ describe("LuaRocks install tests #blackbox #b_install", function() | |||
83 | assert.is_true(run.luarocks_bool("show luasec")) | 83 | assert.is_true(run.luarocks_bool("show luasec")) |
84 | if env_variables.TYPE_TEST_ENV == "minimal" then | 84 | if env_variables.TYPE_TEST_ENV == "minimal" then |
85 | assert.is_false(run.luarocks_bool(test_env.quiet("show luasocket"))) | 85 | assert.is_false(run.luarocks_bool(test_env.quiet("show luasocket"))) |
86 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/luasocket")) | 86 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_rocks .. "/luasocket")) |
87 | end | 87 | end |
88 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/luasec")) | 88 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/luasec")) |
89 | end) | 89 | end) |
90 | 90 | ||
91 | it('LuaRocks install - handle relative path in --tree #632', function() | 91 | it('LuaRocks install - handle relative path in --tree #632', function() |
@@ -170,22 +170,22 @@ describe("LuaRocks install tests #blackbox #b_install", function() | |||
170 | assert.is_true(run.luarocks_bool("install say 1.2")) | 170 | assert.is_true(run.luarocks_bool("install say 1.2")) |
171 | assert.is_true(run.luarocks_bool("install luassert")) | 171 | assert.is_true(run.luarocks_bool("install luassert")) |
172 | assert.is_true(run.luarocks_bool("install say 1.0")) | 172 | assert.is_true(run.luarocks_bool("install say 1.0")) |
173 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/say/1.2-1")) | 173 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/say/1.2-1")) |
174 | end) | 174 | end) |
175 | it("LuaRocks install break dependencies force", function() | 175 | it("LuaRocks install break dependencies force", function() |
176 | assert.is_true(run.luarocks_bool("install say 1.2")) | 176 | assert.is_true(run.luarocks_bool("install say 1.2")) |
177 | assert.is_true(run.luarocks_bool("install luassert")) | 177 | assert.is_true(run.luarocks_bool("install luassert")) |
178 | local output = run.luarocks("install --force say 1.0") | 178 | local output = run.luarocks("install --force say 1.0") |
179 | assert.is.truthy(output:find("Checking stability of dependencies")) | 179 | assert.is.truthy(output:find("Checking stability of dependencies")) |
180 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/say/1.2-1")) | 180 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_rocks .. "/say/1.2-1")) |
181 | end) | 181 | end) |
182 | it("LuaRocks install break dependencies force fast", function() | 182 | it("LuaRocks install break dependencies force fast", function() |
183 | assert.is_true(run.luarocks_bool("install say 1.2")) | 183 | assert.is_true(run.luarocks_bool("install say 1.2")) |
184 | assert.is_true(run.luarocks_bool("install luassert")) | 184 | assert.is_true(run.luarocks_bool("install luassert")) |
185 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/say/1.2-1")) | 185 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/say/1.2-1")) |
186 | local output = run.luarocks("install --force-fast say 1.0") | 186 | local output = run.luarocks("install --force-fast say 1.0") |
187 | assert.is.falsy(output:find("Checking stability of dependencies")) | 187 | assert.is.falsy(output:find("Checking stability of dependencies")) |
188 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/say/1.0-1")) | 188 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/say/1.0-1")) |
189 | end) | 189 | end) |
190 | end) | 190 | end) |
191 | end) | 191 | end) |