xmlsecurity/qa/unit/signing/signing.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
New commits: commit c8dd76d1cb66cf5f4d02bf5d3265904ded9e471f Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Wed Oct 20 11:56:54 2021 +0300 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon Oct 25 15:08:06 2021 +0200 Run testODFX509CertificateChain first because otherwise it fails on my Mac Sure, it would be better to figure out why it fails. Change-Id: I4c9e8aa0a9a3cd421de08ec9c9ea2dcb1a242ab1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123875 Tested-by: Tor Lillqvist <t...@collabora.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> (cherry picked from commit fd7f17ca580888044050fbf25df65354ba12d4ca) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124022 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> Tested-by: Jenkins diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx index 9f27fcb9e673..b6f76d69034d 100644 --- a/xmlsecurity/qa/unit/signing/signing.cxx +++ b/xmlsecurity/qa/unit/signing/signing.cxx @@ -1,4 +1,4 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * This file is part of the LibreOffice project. * @@ -544,7 +544,11 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testODFUnsignedTimestamp) CPPUNIT_ASSERT_EQUAL(sal_Int32(18183742), infos[0].SignatureTime); } -CPPUNIT_TEST_FIXTURE(SigningTest, testODFX509CertificateChain) +// FIXME: For some unknown reason, this test fails on tml's Mac unless it is the only or the first +// test that is run in this CppunitTest program. The CPPUNIT_TEST_FIXTUREs are run in dictionary +// order so use a name for this that makes it the first one to run. + +CPPUNIT_TEST_FIXTURE(SigningTest, aaa_testODFX509CertificateChain) { createDoc(m_directories.getURLFromSrc(DATA_DIRECTORY) + "signed_with_x509certificate_chain.odt");