summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-10-20 11:56:54 +0300
committerTor Lillqvist <tml@collabora.com>2021-10-20 16:55:32 +0200
commitfd7f17ca580888044050fbf25df65354ba12d4ca (patch)
tree234e83331b252f5b33f6b60c2a824cc1ad7d895e /xmlsecurity
parentf4f2c94513e7d06691a73d9f12707c33d131d537 (diff)
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 <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/qa/unit/signing/signing.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx
index 109287c93fe1..cd26cd259a44 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");