diff options
| author | Hisham <hisham@gobolinux.org> | 2016-08-23 16:00:30 -0300 |
|---|---|---|
| committer | Hisham <hisham@gobolinux.org> | 2016-08-23 16:00:30 -0300 |
| commit | 311d2ea373d01a71ad12d31bc250d8e6f6f6c3f8 (patch) | |
| tree | 07e03292d726a0fb4cfb17eb2c0446efc4d5e7ff /spec/upload_spec.lua | |
| parent | 0e6b922d2618fc90195299e2f944110c4ffe5600 (diff) | |
| parent | 9907ae567205777873e47b74c44d163367860d52 (diff) | |
| download | luarocks-311d2ea373d01a71ad12d31bc250d8e6f6f6c3f8.tar.gz luarocks-311d2ea373d01a71ad12d31bc250d8e6f6f6c3f8.tar.bz2 luarocks-311d2ea373d01a71ad12d31bc250d8e6f6f6c3f8.zip | |
Merge branch 'master' of https://github.com/keplerproject/luarocks
Diffstat (limited to 'spec/upload_spec.lua')
| -rw-r--r-- | spec/upload_spec.lua | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua index af4c36d3..ff39cb96 100644 --- a/spec/upload_spec.lua +++ b/spec/upload_spec.lua | |||
| @@ -63,18 +63,10 @@ describe("LuaRocks upload tests #blackbox #b_upload", function() | |||
| 63 | end) | 63 | end) |
| 64 | 64 | ||
| 65 | it("LuaRocks upload rockspec with api-key", function() | 65 | it("LuaRocks upload rockspec with api-key", function() |
| 66 | if test_env.APPVEYOR then | 66 | assert.is_true(run.luarocks_bool("upload " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec " .. test_env.OPENSSL_DIRS .. " --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"})) |
| 67 | assert.is_true(run.luarocks_bool("upload " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec " .. test_env.APPVEYOR_OPENSSL .. " --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"})) | ||
| 68 | else | ||
| 69 | assert.is_true(run.luarocks_bool("upload " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"})) | ||
| 70 | end | ||
| 71 | end) | 67 | end) |
| 72 | it("LuaRocks upload rockspec with api-key and skip-pack", function() | 68 | it("LuaRocks upload rockspec with api-key and skip-pack", function() |
| 73 | if test_env.APPVEYOR then | 69 | assert.is_true(run.luarocks_bool("upload --skip-pack " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec " .. test_env.OPENSSL_DIRS .. " --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"})) |
| 74 | assert.is_true(run.luarocks_bool("upload --skip-pack " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec " .. test_env.APPVEYOR_OPENSSL .. " --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"})) | ||
| 75 | else | ||
| 76 | assert.is_true(run.luarocks_bool("upload --skip-pack " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"})) | ||
| 77 | end | ||
| 78 | end) | 70 | end) |
| 79 | end) | 71 | end) |
| 80 | end) | 72 | end) |
