aboutsummaryrefslogtreecommitdiff
path: root/spec/install_spec.lua
diff options
context:
space:
mode:
authorroboo <robo.karasek@gmail.com>2016-07-18 17:35:40 +0200
committerroboo <robo.karasek@gmail.com>2016-07-18 17:35:40 +0200
commita90a2066b08b4cc047be84c673024f7f5e9fa054 (patch)
tree752e6e807bf1c34c676e07d02438f34994c473d0 /spec/install_spec.lua
parentb04588031609c8cbcf3636f0dadb9fc6cd960c8f (diff)
downloadluarocks-a90a2066b08b4cc047be84c673024f7f5e9fa054.tar.gz
luarocks-a90a2066b08b4cc047be84c673024f7f5e9fa054.tar.bz2
luarocks-a90a2066b08b4cc047be84c673024f7f5e9fa054.zip
Fix of upload tests for lua5.3
Diffstat (limited to 'spec/install_spec.lua')
-rw-r--r--spec/install_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua
index 0b2ffb53..28e349c3 100644
--- a/spec/install_spec.lua
+++ b/spec/install_spec.lua
@@ -83,14 +83,14 @@ describe("LuaRocks install tests #blackbox #b_install", function()
83 end) 83 end)
84 84
85 it("LuaRocks install only-deps of luasocket packed rock", function() 85 it("LuaRocks install only-deps of luasocket packed rock", function()
86 assert.is_true(run.luarocks_bool("build --pack-binary-rock luasocket")) 86 assert.is_true(run.luarocks_bool("build --pack-binary-rock luasocket 3.0rc1-1"))
87 local output = run.luarocks("install --only-deps " .. "luasocket-3.0rc1-1." .. test_env.platform .. ".rock") 87 local output = run.luarocks("install --only-deps " .. "luasocket-3.0rc1-1." .. test_env.platform .. ".rock")
88 assert.are.same(output, "Successfully installed dependencies for luasocket 3.0rc1-1") 88 assert.are.same(output, "Successfully installed dependencies for luasocket 3.0rc1-1")
89 assert.is_true(os.remove("luasocket-3.0rc1-1." .. test_env.platform .. ".rock")) 89 assert.is_true(os.remove("luasocket-3.0rc1-1." .. test_env.platform .. ".rock"))
90 end) 90 end)
91 91
92 it("LuaRocks install reinstall", function() 92 it("LuaRocks install reinstall", function()
93 assert.is_true(run.luarocks_bool("build --pack-binary-rock luasocket")) 93 assert.is_true(run.luarocks_bool("build --pack-binary-rock luasocket 3.0rc1-1"))
94 assert.is_true(run.luarocks_bool("install " .. "luasocket-3.0rc1-1." .. test_env.platform .. ".rock")) 94 assert.is_true(run.luarocks_bool("install " .. "luasocket-3.0rc1-1." .. test_env.platform .. ".rock"))
95 assert.is_true(run.luarocks_bool("install --deps-mode=none " .. "luasocket-3.0rc1-1." .. test_env.platform .. ".rock")) 95 assert.is_true(run.luarocks_bool("install --deps-mode=none " .. "luasocket-3.0rc1-1." .. test_env.platform .. ".rock"))
96 assert.is_true(os.remove("luasocket-3.0rc1-1." .. test_env.platform .. ".rock")) 96 assert.is_true(os.remove("luasocket-3.0rc1-1." .. test_env.platform .. ".rock"))