diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-24 17:30:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-24 17:30:02 +0000 |
commit | 325674e0d0a0f49c3ed5cf42e3da7f0c5933828a (patch) | |
tree | e61ece2581dcce4abfd97590bbbce1cef1d50171 | |
parent | 0b1f4248338ff28208b3368b66690a84a75cc480 (diff) |
config dir can vary dramatically, just test for existance
-rw-r--r-- | sal/qa/osl/security/osl_Security.cxx | 8 |
1 files 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 ); |