aboutsummaryrefslogtreecommitdiff
path: root/spec/pack_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/pack_spec.lua')
-rw-r--r--spec/pack_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/pack_spec.lua b/spec/pack_spec.lua
index 966195c5..86b4e2b2 100644
--- a/spec/pack_spec.lua
+++ b/spec/pack_spec.lua
@@ -26,7 +26,7 @@ describe("LuaRocks pack tests #blackbox #b_pack", function()
26 26
27 it("LuaRocks pack basic", function() 27 it("LuaRocks pack basic", function()
28 assert.is_true(run.luarocks_bool("pack luacov")) 28 assert.is_true(run.luarocks_bool("pack luacov"))
29 assert.is_true(test_env.remove_files(lfs.currentdir(), "luacov-")) 29 assert.is_true(test_env.remove_files(lfs.currentdir(), "luacov%-"))
30 end) 30 end)
31 31
32 it("LuaRocks pack invalid rockspec", function() 32 it("LuaRocks pack invalid rockspec", function()
@@ -47,14 +47,14 @@ describe("LuaRocks pack tests #blackbox #b_pack", function()
47 assert.is_true(run.luarocks_bool("install say 1.0")) 47 assert.is_true(run.luarocks_bool("install say 1.0"))
48 assert.is_true(run.luarocks_bool("pack say")) 48 assert.is_true(run.luarocks_bool("pack say"))
49 assert.is_truthy(lfs.attributes("say-1.2-1.all.rock")) 49 assert.is_truthy(lfs.attributes("say-1.2-1.all.rock"))
50 assert.is_true(test_env.remove_files(lfs.currentdir(), "say-")) 50 assert.is_true(test_env.remove_files(lfs.currentdir(), "say%-"))
51 end) 51 end)
52 52
53 it("LuaRocks pack src", function() 53 it("LuaRocks pack src", function()
54 assert.is_true(run.luarocks_bool("install luasec " .. test_env.OPENSSL_DIRS)) 54 assert.is_true(run.luarocks_bool("install luasec " .. test_env.OPENSSL_DIRS))
55 assert.is_true(run.luarocks_bool("download --rockspec luasocket 3.0rc1-2")) 55 assert.is_true(run.luarocks_bool("download --rockspec luasocket 3.0rc1-2"))
56 assert.is_true(run.luarocks_bool("pack luasocket-3.0rc1-2.rockspec")) 56 assert.is_true(run.luarocks_bool("pack luasocket-3.0rc1-2.rockspec"))
57 assert.is_true(test_env.remove_files(lfs.currentdir(), "luasocket-")) 57 assert.is_true(test_env.remove_files(lfs.currentdir(), "luasocket%-"))
58 end) 58 end)
59end) 59end)
60 60