From 325674e0d0a0f49c3ed5cf42e3da7f0c5933828a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 24 Feb 2011 17:30:02 +0000 Subject: config dir can vary dramatically, just test for existance --- sal/qa/osl/security/osl_Security.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx index af87c1f33fc6..fe38e5fd0d29 100644 --- a/sal/qa/osl/security/osl_Security.cxx +++ b/sal/qa/osl/security/osl_Security.cxx @@ -228,16 +228,12 @@ namespace osl_Security void getConfigDir_001( ) { -#if not defined( MACOSX ) - // Note: on Mac OS, configuration information is kept at ~/Application%20Support and - // not in~/; thus, this test should always fail since strConfigDirectory is ~/ ::osl::Security aSec; ::rtl::OUString strConfig; bRes = aSec.getConfigDir( strConfig ); - CPPUNIT_ASSERT_MESSAGE( "#test comment#: getHomeDir and compare it with the info we get at the beginning.", - ( sal_True == strConfigDirectory.equals( strConfig ) ) && ( sal_True == bRes ) ); -#endif + CPPUNIT_ASSERT_MESSAGE( "failed to find a ConfigDir!", + ( sal_True == bRes )); } CPPUNIT_TEST_SUITE( getConfigDir ); -- cgit