sal/qa/osl/file/forbidden.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db229d0bca52651a258cc039427620210b50ac77
Author:     Stephan Bergmann <stephan.bergm...@collabora.com>
AuthorDate: Mon Jul 7 23:00:34 2025 +0200
Commit:     Stephan Bergmann <stephan.bergm...@collabora.com>
CommitDate: Tue Jul 8 09:28:36 2025 +0200

    Don't share a temp dir between CppunitTests
    
    ...following up on 19e5551130ea78e7d1ee79c51dc90f80a3c7425c "sal: osl::File
    sand-boxing for Unix" breaking part of CppunitTest_sal_osl out into
    Cppunit_sal_osl_file_detials, but missing the fact that parts of both tests
    could now operate on the same temp dir in parallel, causing e.g.
    
    > osl_Forbidden::Forbidden::forbidden finished in: 13ms
    > forbidden.cxx:236:Assertion
    > Test name: osl_Forbidden::Forbidden::forbidden
    > tearDown() failed
    > - assertion failed
    > - Expression: (osl::FileBase::E_None == nError) || (nError == 
osl::FileBase::E_NOENT)
    > - In deleteTestDirectory function: remove Directory 
file:///.../tmp/tmpdir -> result: 37
    
    Change-Id: Id541527e026370060e7b90ba67fdf5de37697bec
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187505
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@collabora.com>
    (cherry picked from commit 337e4200b6874e7b1725dd3b8f1bcea776d14e6b)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187526
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/sal/qa/osl/file/forbidden.cxx b/sal/qa/osl/file/forbidden.cxx
index d474fbbc39db..0de16e92cd98 100644
--- a/sal/qa/osl/file/forbidden.cxx
+++ b/sal/qa/osl/file/forbidden.cxx
@@ -239,7 +239,7 @@ namespace osl_Forbidden
     public:
         Forbidden():
             aTempDirectoryURL(getTempDirectoryURL_()),
-            aTmpName3( aTempDirectoryURL + "/tmpdir" )
+            aTmpName3( aTempDirectoryURL + "/tmpdir-forbidden" )
         {}
     };
 

Reply via email to