Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rnp for openSUSE:Factory checked in 
at 2023-06-22 23:26:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rnp (Old)
 and      /work/SRC/openSUSE:Factory/.rnp.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rnp"

Thu Jun 22 23:26:04 2023 rev:11 rq:1094487 version:0.17.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rnp/rnp.changes  2023-06-16 16:54:25.413556382 
+0200
+++ /work/SRC/openSUSE:Factory/.rnp.new.15902/rnp.changes       2023-06-22 
23:26:29.725974487 +0200
@@ -1,0 +2,5 @@
+Mon Jun 19 21:10:24 UTC 2023 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- fix s390x tests - add rnp-v0.17.0-tests.patch
+
+-------------------------------------------------------------------

New:
----
  rnp-v0.17.0-tests.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rnp.spec ++++++
--- /var/tmp/diff_new_pack.dA4aOd/_old  2023-06-22 23:26:30.293977384 +0200
+++ /var/tmp/diff_new_pack.dA4aOd/_new  2023-06-22 23:26:30.313977486 +0200
@@ -29,6 +29,7 @@
 Source3:        
https://www.rnpgp.org/openpgp_keys/31AF5A24D861EFCB7CB79A1924900CE0AEFB5417-50DA59D5B9134FA2DB1EB20CFB829AB5D0FE017F.asc#/%{name}.keyring
 Patch0:         rnp-v0.17.0-disable-static.patch
 Patch2:         rnp-v0.17.0-system-sexp.patch
+Patch3:         rnp-v0.17.0-tests.patch
 BuildRequires:  cmake >= 3.18
 BuildRequires:  gcc-c++
 BuildRequires:  gpg2 >= 2.2

++++++ rnp-v0.17.0-tests.patch ++++++
>From e69da980c1bc3d6096db6446a5e14cac924146fa Mon Sep 17 00:00:00 2001
From: Andreas Stieger <andreas.stie...@gmx.de>
Date: Mon, 19 Jun 2023 23:05:27 +0200
Subject: [PATCH] Increase key expiry seconds in tests from 10s to 60s

---
 src/tests/cli_tests.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tests/cli_tests.py b/src/tests/cli_tests.py
index e6f5ed76..f0bcc757 100755
--- a/src/tests/cli_tests.py
+++ b/src/tests/cli_tests.py
@@ -1997,14 +1997,14 @@ class Keystore(unittest.TestCase):
         matches = re.findall(r'(key expiration time: 63072000 seconds \(730 
days\))', out)
         self.assertEqual(len(matches), 1)
 
-        # Expires in 10 seconds
-        ret, out, _ = run_proc(RNPK, ['--homedir', RNPDIR, '--edit-key', 
'--set-expire', '10', 'primary_with_empty_password@rnp'])
+        # Expires in 60 seconds
+        ret, out, _ = run_proc(RNPK, ['--homedir', RNPDIR, '--edit-key', 
'--set-expire', '60', 'primary_with_empty_password@rnp'])
         self.assertEqual(ret, 0)
         self.assertRegex(out, r'(?s)^.*\[EXPIRES .*')
 
         ret, out, _ = run_proc(RNP, ['--list-packets', kpath])
         self.assertEqual(ret, 0)
-        self.assertRegex(out, r'(?s)^.*key expiration time: 10 seconds \(0 
days\).*')
+        self.assertRegex(out, r'(?s)^.*key expiration time: 60 seconds \(0 
days\).*')
 
         # Expires in 10 hours
         ret, out, _ = run_proc(RNPK, ['--homedir', RNPDIR, '--edit-key', 
'--set-expire', '10h', 'primary_with_empty_password@rnp'])
-- 
2.41.0

Reply via email to