diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-02-23 18:37:13 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-02-23 18:37:13 -0800 |
commit | 0f6e6d5900565e1eb5b29852ea7e85f2ca0a4aef (patch) | |
tree | 9f394d2c687c53e748e08deef3dd0d505a34dc7f | |
parent | ff9018923ecb49c022455ea9ceab4f8da11de073 (diff) |
Fix MacOS X build issue.
-rw-r--r-- | sal/qa/osl/security/osl_Security.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx index 61013d85ad3f..af87c1f33fc6 100644 --- a/sal/qa/osl/security/osl_Security.cxx +++ b/sal/qa/osl/security/osl_Security.cxx @@ -228,12 +228,16 @@ 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_TEST_SUITE( getConfigDir ); |