aboutsummaryrefslogtreecommitdiff
path: root/spec/pack_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2019-04-26 17:07:40 -0300
committerHisham Muhammad <hisham@gobolinux.org>2019-04-26 19:02:39 -0300
commitc451dd03115f87d0143d170fbdaf160e8627391e (patch)
treed8eae5ffa84f48d5ca61aee52852edf47f0327c3 /spec/pack_spec.lua
parentd534a32241aab49c18bae1b21f40f856baa22ab0 (diff)
downloadluarocks-c451dd03115f87d0143d170fbdaf160e8627391e.tar.gz
luarocks-c451dd03115f87d0143d170fbdaf160e8627391e.tar.bz2
luarocks-c451dd03115f87d0143d170fbdaf160e8627391e.zip
Tests: cleanup signature before signing
Diffstat (limited to 'spec/pack_spec.lua')
-rw-r--r--spec/pack_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/pack_spec.lua b/spec/pack_spec.lua
index 8b3612db..bea47811 100644
--- a/spec/pack_spec.lua
+++ b/spec/pack_spec.lua
@@ -54,6 +54,8 @@ describe("LuaRocks pack #integration", function()
54 assert(run.luarocks_bool("install say 1.2")) 54 assert(run.luarocks_bool("install say 1.2"))
55 assert(run.luarocks_bool("install luassert")) 55 assert(run.luarocks_bool("install luassert"))
56 assert(run.luarocks_bool("install say 1.0")) 56 assert(run.luarocks_bool("install say 1.0"))
57 os.delete("say-1.2-1.all.rock")
58 os.delete("say-1.2-1.all.rock.asc")
57 assert(run.luarocks_bool("pack say --sign")) 59 assert(run.luarocks_bool("pack say --sign"))
58 assert.is_truthy(lfs.attributes("say-1.2-1.all.rock")) 60 assert.is_truthy(lfs.attributes("say-1.2-1.all.rock"))
59 assert.is_truthy(lfs.attributes("say-1.2-1.all.rock.asc")) 61 assert.is_truthy(lfs.attributes("say-1.2-1.all.rock.asc"))