diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-04 16:57:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-04 16:57:36 +0100 |
commit | 073a968b62cd24d33db156474d0e020579b3b1ac (patch) | |
tree | 432f786a9b89a5df2254842d000c0195bf46f9b0 /sal/qa | |
parent | e9e3bdfe8cd7b04455faa61b9c1f8215fafae7cd (diff) |
the SAL_ALLOW_LINKOO_SYMLINKS hack breaks this test
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/osl/file/osl_old_test_file.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sal/qa/osl/file/osl_old_test_file.cxx b/sal/qa/osl/file/osl_old_test_file.cxx index 0b2f4d5664ca..23e16aeed4fb 100644 --- a/sal/qa/osl/file/osl_old_test_file.cxx +++ b/sal/qa/osl/file/osl_old_test_file.cxx @@ -61,6 +61,13 @@ namespace osl_test_file class oldtestfile : public CppUnit::TestFixture { public: + oldtestfile() + { + //SAL_ALLOW_LINKOO_SYMLINKS for the make dev-install hack breaks this test + rtl::OUString envVar(RTL_CONSTASCII_USTRINGPARAM("SAL_ALLOW_LINKOO_SYMLINKS")); + osl_clearEnvironment(envVar.pData); + } + void test_file_001(); void test_file_002(); void test_file_003(); @@ -126,7 +133,7 @@ void oldtestfile::test_file_001() OUString target; OUString rel = OUString::createFromAscii( aSource1[i] ); oslFileError e = osl_getAbsoluteFileURL( base1.pData, rel.pData , &target.pData ); - // printf("%d : %s -- %s -- %s\n", i, aSource1[i], aSource1[i+1], OUStringToOString(target , RTL_TEXTENCODING_ASCII_US ).getStr() ); + //fprintf(stderr, "%d : %s -- %s -- %s\n", i, aSource1[i], aSource1[i+1], OUStringToOString(target , RTL_TEXTENCODING_ASCII_US ).getStr() ); CPPUNIT_ASSERT_MESSAGE("failure #1", osl_File_E_None == e ); if( osl_File_E_None == e ) { @@ -156,7 +163,7 @@ void oldtestfile::test_file_002() OUString target; OUString rel = OUString::createFromAscii( aSource2[i] ); oslFileError e = osl_getAbsoluteFileURL( base2.pData, rel.pData , &target.pData ); - // printf("%d : %s -- %s -- %s\n", i, aSource2[i], aSource2[i+1], OUStringToOString(target , RTL_TEXTENCODING_ASCII_US ).getStr() ); + //fprintf(stderr, "%d : %s -- %s -- %s\n", i, aSource2[i], aSource2[i+1], OUStringToOString(target , RTL_TEXTENCODING_ASCII_US ).getStr() ); CPPUNIT_ASSERT_MESSAGE("failure #2", osl_File_E_None == e ); if( osl_File_E_None == e ) { |