Here is a patch to avoid a unit test that fail the same on FreeBSD as on OSX

(Apparently because of aKname don't know more about it yet)

regards,
Bapt
From f3fa7cc001c4309e0dcbd94f0732e56c7d4bc8c9 Mon Sep 17 00:00:00 2001
From: Baptiste Daroussin <b...@freebsd.org>
Date: Mon, 19 Sep 2011 13:55:04 +0200
Subject: [PATCH 3/5] FreeBSD has the same cppunit failure as OSX does

---
 sal/qa/osl/module/osl_Module.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sal/qa/osl/module/osl_Module.cxx b/sal/qa/osl/module/osl_Module.cxx
index a7339b3..5e0c47f 100644
--- a/sal/qa/osl/module/osl_Module.cxx
+++ b/sal/qa/osl/module/osl_Module.cxx
@@ -294,7 +294,7 @@ namespace osl_Module
         // load lib which is under a CJK directory
         void load_002( )
         {
-#if defined( UNX ) && !defined( MACOSX )
+#if defined( UNX ) && !defined( MACOSX ) && !defined( FREEBSD )
             // TODO: Find out why this fails on Mac OS X
             //Can not get a CJK directory already exist, so here create one. Perhaps reason is encoding problem.
             ::rtl::OUString aPidDirURL = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///tmp/")) + ::rtl::OUString::valueOf( ( long )getpid( ) );
-- 
1.7.6

Attachment: pgpE3wbu88KFe.pgp
Description: PGP signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to