aboutsummaryrefslogtreecommitdiff
path: root/spec/install_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install_spec.lua')
-rw-r--r--spec/install_spec.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua
index f4d8a418..8a5d8f09 100644
--- a/spec/install_spec.lua
+++ b/spec/install_spec.lua
@@ -85,8 +85,7 @@ describe("luarocks install #integration", function()
85 end) 85 end)
86 86
87 it("installs a package with a dependency", function() 87 it("installs a package with a dependency", function()
88 local openssl_dirs = "OPENSSL_INCDIR=" .. test_env.OPENSSL_INCDIR .. " OPENSSL_LIBDIR=" .. test_env.OPENSSL_LIBDIR 88 assert.is_true(run.luarocks_bool("install luasec " .. test_env.openssl_dirs))
89 assert.is_true(run.luarocks_bool("install luasec " .. openssl_dirs))
90 assert.is_true(run.luarocks_bool("show luasocket")) 89 assert.is_true(run.luarocks_bool("show luasocket"))
91 end) 90 end)
92 end) 91 end)
@@ -139,8 +138,7 @@ describe("luarocks install #integration", function()
139 138
140 describe("more complex tests", function() 139 describe("more complex tests", function()
141 it('luasec with skipping dependency checks', function() 140 it('luasec with skipping dependency checks', function()
142 local openssl_dirs = "OPENSSL_INCDIR=" .. test_env.OPENSSL_INCDIR .. " OPENSSL_LIBDIR=" .. test_env.OPENSSL_LIBDIR 141 assert.is_true(run.luarocks_bool("install luasec " .. test_env.openssl_dirs .. " --nodeps"))
143 assert.is_true(run.luarocks_bool("install luasec " .. openssl_dirs .. " --nodeps"))
144 assert.is_true(run.luarocks_bool("show luasec")) 142 assert.is_true(run.luarocks_bool("show luasec"))
145 if env_variables.TYPE_TEST_ENV == "minimal" then 143 if env_variables.TYPE_TEST_ENV == "minimal" then
146 assert.is_false(run.luarocks_bool(test_env.quiet("show luasocket"))) 144 assert.is_false(run.luarocks_bool(test_env.quiet("show luasocket")))