[Libreoffice-commits] core.git: sal/qa

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 10 14:53:38 UTC 2021


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

New commits:
commit 5a4b588f3ab9412f6ae6763827020b0e90b568d6
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Feb 10 12:28:59 2021 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Feb 10 15:52:52 2021 +0100

    Be a bit more verbose in that crappy test code
    
    Change-Id: Ic0500db292d52a827f2139cd2cbbc0e8e4274dac
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110701
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index d0bc3e1c0039..884ff06e917c 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -235,7 +235,7 @@ static void createTestDirectory(const OUString& dirname)
         osl::FileBase::getFileURLFromSystemPath(dirname, aPathURL); // convert if not full qualified URL
     nError = Directory::create(aPathURL);
     if ((nError != osl::FileBase::E_None) && (nError != osl::FileBase::E_EXIST))
-        printf("createTestDirectory failed!\n");
+        printf("createTestDirectory failed: %d!\n", int(nError));
 }
 
 /** create a temp test directory using OUString name of full qualified URL or system path in a base directory.


More information about the Libreoffice-commits mailing list