diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-29 01:56:10 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-29 15:46:16 +0000 |
commit | 41cf95fdf5becce038e68422c294634983727285 (patch) | |
tree | 023ba260a963f3dba0cb9125c3c25656bf924806 /spec | |
parent | f76b7a2b13e411df2e696146bb0a6396781acd92 (diff) | |
download | luarocks-41cf95fdf5becce038e68422c294634983727285.tar.gz luarocks-41cf95fdf5becce038e68422c294634983727285.tar.bz2 luarocks-41cf95fdf5becce038e68422c294634983727285.zip |
tests: mark a couple of problematic tests as pending
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) |