diff options
author | roboo <robo.karasek@gmail.com> | 2016-07-18 17:35:40 +0200 |
---|---|---|
committer | roboo <robo.karasek@gmail.com> | 2016-07-18 17:35:40 +0200 |
commit | a90a2066b08b4cc047be84c673024f7f5e9fa054 (patch) | |
tree | 752e6e807bf1c34c676e07d02438f34994c473d0 /spec/upload_spec.lua | |
parent | b04588031609c8cbcf3636f0dadb9fc6cd960c8f (diff) | |
download | luarocks-a90a2066b08b4cc047be84c673024f7f5e9fa054.tar.gz luarocks-a90a2066b08b4cc047be84c673024f7f5e9fa054.tar.bz2 luarocks-a90a2066b08b4cc047be84c673024f7f5e9fa054.zip |
Fix of upload tests for lua5.3
Diffstat (limited to '')
-rw-r--r-- | spec/upload_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua index d959f64a..02b68611 100644 --- a/spec/upload_spec.lua +++ b/spec/upload_spec.lua | |||
@@ -7,6 +7,7 @@ test_env.unload_luarocks() | |||
7 | local extra_rocks = { | 7 | local extra_rocks = { |
8 | "/lua-cjson-2.1.0-1.src.rock", | 8 | "/lua-cjson-2.1.0-1.src.rock", |
9 | 9 | ||
10 | -- rocks needed for mock-server | ||
10 | "/copas-2.0.1-1.src.rock", | 11 | "/copas-2.0.1-1.src.rock", |
11 | "/coxpcall-1.16.0-1.src.rock", | 12 | "/coxpcall-1.16.0-1.src.rock", |
12 | "/dkjson-2.5-2.src.rock", | 13 | "/dkjson-2.5-2.src.rock", |
@@ -50,7 +51,7 @@ describe("LuaRocks upload tests #blackbox #b_upload", function() | |||
50 | assert.is_true(run.luarocks_bool("install lua-cjson")) | 51 | assert.is_true(run.luarocks_bool("install lua-cjson")) |
51 | end) | 52 | end) |
52 | 53 | ||
53 | describe("LuaRocks upload tests with Xavante server", function() | 54 | describe("LuaRocks upload tests with Xavante server #mock", function() |
54 | before_each(function() | 55 | before_each(function() |
55 | assert.is_true(test_env.need_rock("restserver-xavante")) | 56 | assert.is_true(test_env.need_rock("restserver-xavante")) |
56 | local final_command = test_env.execute_helper(testing_paths.lua .. " " .. testing_paths.testing_dir .. "/mock-server.lua &", true, test_env.env_variables) | 57 | local final_command = test_env.execute_helper(testing_paths.lua .. " " .. testing_paths.testing_dir .. "/mock-server.lua &", true, test_env.env_variables) |