diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/install_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua index 66000c36..ec42d125 100644 --- a/spec/install_spec.lua +++ b/spec/install_spec.lua | |||
@@ -32,13 +32,13 @@ describe("luarocks install #integration", function() | |||
32 | end) | 32 | end) |
33 | 33 | ||
34 | describe("basic tests", function() | 34 | describe("basic tests", function() |
35 | it("fails with local flag as root #unix", function() | 35 | pending("fails with local flag as root #unix", function() |
36 | if test_env.TYPE_TEST_ENV ~= "full" then | 36 | if test_env.TYPE_TEST_ENV ~= "full" then |
37 | assert.is_false(run.luarocks_bool("install --local luasocket ", { USER = "root" } )) | 37 | assert.is_false(run.luarocks_bool("install --local luasocket ", { USER = "root" } )) |
38 | end | 38 | end |
39 | end) | 39 | end) |
40 | 40 | ||
41 | it("fails with no downloader", function() | 41 | pending("fails with no downloader", function() |
42 | if test_env.TYPE_TEST_ENV ~= "full" then | 42 | if test_env.TYPE_TEST_ENV ~= "full" then |
43 | local output = assert(run.luarocks("install https://example.com/rock-1.0.src.rock", { LUAROCKS_CONFIG = testing_paths.testrun_dir .. "/testing_config_no_downloader.lua" } )) | 43 | local output = assert(run.luarocks("install https://example.com/rock-1.0.src.rock", { LUAROCKS_CONFIG = testing_paths.testrun_dir .. "/testing_config_no_downloader.lua" } )) |
44 | assert.match("no downloader tool", output) | 44 | assert.match("no downloader tool", output) |