commit ebd6508: [Minor] Fix another stupid tests regression

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Nov 18 14:14:07 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-11-18 14:11:33 +0000
URL: https://github.com/rspamd/rspamd/commit/ebd650875251ddb1fd1fa2760d6a1e1d009e7ff9 (HEAD -> master)

[Minor] Fix another stupid tests regression

---
 test/lua/unit/rsa.lua                  | 2 +-
 test/lua/unit/{testkey => testkey.sec} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lua/unit/rsa.lua b/test/lua/unit/rsa.lua
index 900c8a53f..338f06a0f 100644
--- a/test/lua/unit/rsa.lua
+++ b/test/lua/unit/rsa.lua
@@ -7,7 +7,7 @@ context("RSA signature verification test", function()
   local rsa = require "rspamd_rsa"
   local hash = require "rspamd_cryptobox_hash"
   local pubkey = 'testkey.pub'
-  local privkey = 'testkey'
+  local privkey = 'testkey.sec'
   local data = 'test.data'
   local signature = 'test.sig'
   local test_dir = string.gsub(debug.getinfo(1).source, "^@(.+/)[^/]+$", "%1")
diff --git a/test/lua/unit/testkey b/test/lua/unit/testkey.sec
similarity index 100%
rename from test/lua/unit/testkey
rename to test/lua/unit/testkey.sec


More information about the Commits mailing list