diff options
Diffstat (limited to 'media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch')
-rw-r--r-- | media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch b/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch deleted file mode 100644 index 801421a689c0..000000000000 --- a/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch +++ /dev/null @@ -1,41 +0,0 @@ -From a97d30ad693374deab404ec31fe00665882cc949 Mon Sep 17 00:00:00 2001 -From: David Tardon <dtardon@redhat.com> -Date: Mon, 18 Jan 2016 13:53:19 +0100 -Subject: [PATCH] tdf#92396 test must be run in specific time zone - -Change-Id: Idc9d85ae8c5c1a6eccca7e830baa05a867ac4402 -Change-Id: I03b40e2746ad90f2c7cf09560c218aab2a18090d ---- - src/test/Makefile.am | 3 +++ - src/test/importtest.cpp | 4 ++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/src/test/Makefile.am b/src/test/Makefile.am -index 59d3419..23049b5 100644 ---- a/src/test/Makefile.am -+++ b/src/test/Makefile.am -@@ -29,4 +29,7 @@ EXTRA_DIST = \ - data/dwg.vsdx \ - $(test_SOURCES) - -+# ImportTest::testVsdMetadataTitleUtf8 checks formatted date string -+AM_TESTS_ENVIRONMENT = TZ=UTC; export TZ; -+ - TESTS = test -diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp -index e05b3c1..32fb185 100644 ---- a/src/test/importtest.cpp -+++ b/src/test/importtest.cpp -@@ -242,8 +242,8 @@ void ImportTest::testVsdMetadataTitleUtf8() - // Test the case when the string is UTF-8 encoded already in the file. - assertXPath(m_doc, "/document/setDocumentMetaData", "title", "mytitle\xC3\xA9\xC3\xA1\xC5\x91\xC5\xB1"); - // Test <dcterms:created> and <dcterms:modified>. -- assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", "2014-11-26T09:24:56Z"); -- assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-26T09:24:56Z"); -+ assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", "2014-11-26T08:24:56Z"); -+ assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-26T08:24:56Z"); - } - - void ImportTest::testVsdUserDefinedMetadata() --- -2.1.4 |