diff options
-rw-r--r-- | sfx2/qa/cppunit/test_misc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/qa/cppunit/test_misc.cxx b/sfx2/qa/cppunit/test_misc.cxx index 88764a63f842..7162dfc58581 100644 --- a/sfx2/qa/cppunit/test_misc.cxx +++ b/sfx2/qa/cppunit/test_misc.cxx @@ -140,8 +140,8 @@ void MiscTest::testNoThumbnail() osl::FileStatus aStatus(osl_FileStatus_Mask_Attributes); CPPUNIT_ASSERT_EQUAL(osl::DirectoryItem::E_None, aItem.getFileStatus(aStatus)); - // This failed, osl_File_Attribute_GrpRead was not set even if umask - // requested so. + // The following checks used to fail in the past, osl_File_Attribute_GrpRead was not set even if + // umask requested so: CPPUNIT_ASSERT(aStatus.getAttributes() & osl_File_Attribute_GrpRead); CPPUNIT_ASSERT(aStatus.getAttributes() & osl_File_Attribute_OthRead); umask(nMask); |