diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2019-04-26 17:07:40 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-04-26 19:02:39 -0300 |
| commit | c451dd03115f87d0143d170fbdaf160e8627391e (patch) | |
| tree | d8eae5ffa84f48d5ca61aee52852edf47f0327c3 /spec/upload_spec.lua | |
| parent | d534a32241aab49c18bae1b21f40f856baa22ab0 (diff) | |
| download | luarocks-c451dd03115f87d0143d170fbdaf160e8627391e.tar.gz luarocks-c451dd03115f87d0143d170fbdaf160e8627391e.tar.bz2 luarocks-c451dd03115f87d0143d170fbdaf160e8627391e.zip | |
Tests: cleanup signature before signing
Diffstat (limited to 'spec/upload_spec.lua')
| -rw-r--r-- | spec/upload_spec.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua index 947147d7..3f376d0d 100644 --- a/spec/upload_spec.lua +++ b/spec/upload_spec.lua | |||
| @@ -41,6 +41,8 @@ describe("LuaRocks upload tests #integration", function() | |||
| 41 | end) | 41 | end) |
| 42 | 42 | ||
| 43 | it("#gpg rockspec with --sign", function() | 43 | it("#gpg rockspec with --sign", function() |
| 44 | os.remove(testing_paths.fixtures_dir .. "/a_rock-1.0-1.rockspec.asc") | ||
| 45 | os.remove(testing_paths.testrun_dir .. "/a_rock-1.0-1.src.rock.asc") | ||
| 44 | print(run.luarocks("upload " .. testing_paths.fixtures_dir .. "/a_rock-1.0-1.rockspec " .. test_env.openssl_dirs .. " --api-key=123 --sign", {LUAROCKS_CONFIG = testing_paths.testrun_dir .. "/luarocks_site.lua"})) | 46 | print(run.luarocks("upload " .. testing_paths.fixtures_dir .. "/a_rock-1.0-1.rockspec " .. test_env.openssl_dirs .. " --api-key=123 --sign", {LUAROCKS_CONFIG = testing_paths.testrun_dir .. "/luarocks_site.lua"})) |
| 45 | end) | 47 | end) |
| 46 | 48 | ||
