aboutsummaryrefslogtreecommitdiff
path: root/spec/pack_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2016-08-22 17:26:31 -0300
committerGitHub <noreply@github.com>2016-08-22 17:26:31 -0300
commitaea914fd62e73e3106b57f36427ad36123a515a0 (patch)
tree991ad55f79c0fd267eee12b3b2b8c366f2705e68 /spec/pack_spec.lua
parent043c656a11140df8411f0635dc9b79700040d37d (diff)
parent6d9c9997645c07ed93719d85e260d9ffbc2d1d25 (diff)
downloadluarocks-aea914fd62e73e3106b57f36427ad36123a515a0.tar.gz
luarocks-aea914fd62e73e3106b57f36427ad36123a515a0.tar.bz2
luarocks-aea914fd62e73e3106b57f36427ad36123a515a0.zip
Merge pull request #607 from robooo/new-tests
Improvement of checking openssl libs on appveyor
Diffstat (limited to 'spec/pack_spec.lua')
-rw-r--r--spec/pack_spec.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/pack_spec.lua b/spec/pack_spec.lua
index 21f33b02..3191e80c 100644
--- a/spec/pack_spec.lua
+++ b/spec/pack_spec.lua
@@ -49,11 +49,7 @@ describe("LuaRocks pack tests #blackbox #b_pack", function()
49 end) 49 end)
50 50
51 it("LuaRocks pack src", function() 51 it("LuaRocks pack src", function()
52 if test_env.APPVEYOR then 52 assert.is_true(run.luarocks_bool(test_env.quiet("install luasec " .. test_env.OPENSSL_DIRS)))
53 assert.is_true(run.luarocks_bool(test_env.quiet("install luasec " .. test_env.APPVEYOR_OPENSSL)))
54 else
55 assert.is_true(run.luarocks_bool(test_env.quiet("install luasec")))
56 end
57 assert.is_true(run.luarocks_bool("download --rockspec luasocket 3.0rc1-2")) 53 assert.is_true(run.luarocks_bool("download --rockspec luasocket 3.0rc1-2"))
58 assert.is_true(run.luarocks_bool("pack luasocket-3.0rc1-2.rockspec")) 54 assert.is_true(run.luarocks_bool("pack luasocket-3.0rc1-2.rockspec"))
59 assert.is_true(test_env.remove_files(lfs.currentdir(), "luasocket-")) 55 assert.is_true(test_env.remove_files(lfs.currentdir(), "luasocket-"))