diff options
Diffstat (limited to 'spec/install_spec.lua')
| -rw-r--r-- | spec/install_spec.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua index 24dbdb30..1154e9b9 100644 --- a/spec/install_spec.lua +++ b/spec/install_spec.lua | |||
| @@ -54,7 +54,9 @@ describe("luarocks install #integration", function() | |||
| 54 | end) | 54 | end) |
| 55 | 55 | ||
| 56 | it("fails with local flag as root #unix", function() | 56 | it("fails with local flag as root #unix", function() |
| 57 | assert.is_false(run.luarocks_bool("install --local luasocket ", { USER = "root" } )) | 57 | if test_env.TYPE_TEST_ENV ~= "full" then |
| 58 | assert.is_false(run.luarocks_bool("install --local luasocket ", { USER = "root" } )) | ||
| 59 | end | ||
| 58 | end) | 60 | end) |
| 59 | 61 | ||
| 60 | it("fails with no downloader", function() | 62 | it("fails with no downloader", function() |
