summaryrefslogtreecommitdiff
path: root/spec/pack_spec.lua
diff options
context:
space:
mode:
authorroboo <robo.karasek@gmail.com>2016-08-22 21:01:23 +0200
committerroboo <robo.karasek@gmail.com>2016-08-22 21:01:23 +0200
commit6d9c9997645c07ed93719d85e260d9ffbc2d1d25 (patch)
tree666475e30cf2afa35dc966fcfa45f37978eaee1c /spec/pack_spec.lua
parent7225a3d4513137a8e13a5db39538e007b8faa886 (diff)
downloadluarocks-6d9c9997645c07ed93719d85e260d9ffbc2d1d25.tar.gz
luarocks-6d9c9997645c07ed93719d85e260d9ffbc2d1d25.tar.bz2
luarocks-6d9c9997645c07ed93719d85e260d9ffbc2d1d25.zip
Change APPVEYOR_OPENSSL to OPENSSL_DIRS for better test readability
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-"))