From edaebb65d92a48d7075c8c1f64c5ffd87054827b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:07:31 +0200 Subject: Adding debian version 4:7.4.7-1+deb12u1. Signed-off-by: Daniel Baumann --- .../work-around-expired-certificiate-in-test.diff | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 debian/patches/work-around-expired-certificiate-in-test.diff (limited to 'debian/patches/work-around-expired-certificiate-in-test.diff') diff --git a/debian/patches/work-around-expired-certificiate-in-test.diff b/debian/patches/work-around-expired-certificiate-in-test.diff new file mode 100644 index 000000000..f4f87dba4 --- /dev/null +++ b/debian/patches/work-around-expired-certificiate-in-test.diff @@ -0,0 +1,24 @@ +diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx +index 1898d3f1377f..be3d9ebd3253 100644 +--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx ++++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx +@@ -2829,7 +2829,8 @@ void DesktopLOKTest::testInsertCertificate_PEM_ODT() + } + + int nState = pDocument->m_pDocumentClass->getSignatureState(pDocument); +- CPPUNIT_ASSERT_EQUAL(int(1), nState); ++ // OK or NOTVALIDATED (signature is OK, but certificate could not be validated) ++ CPPUNIT_ASSERT(nState == 1 || nState == 4); + } + + void DesktopLOKTest::testInsertCertificate_PEM_DOCX() +@@ -2886,7 +2887,8 @@ void DesktopLOKTest::testInsertCertificate_PEM_DOCX() + } + + int nState = pDocument->m_pDocumentClass->getSignatureState(pDocument); +- CPPUNIT_ASSERT_EQUAL(int(5), nState); ++ // PARTIAL_OK or NOTVALIDATED_PARTIAL_OK ++ CPPUNIT_ASSERT(nState == 5 || nState == 6); + } + + void DesktopLOKTest::testSignDocument_PEM_PDF() -- cgit v1.2.3