Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi Mike,

I'm getting sal unit test failures on a newly-converted cygwin64
tinderbox, details here:

<tinderbox> wrote:
#Initializing ...
#
#logonUser function need root/Administrator account to test.
#You can test by login with root/Administrator, and execute:
#testshl2 -forward "username password" ../../../wntmsci9/bin/Security.dll
#      where username and password are forwarded account info.
#if no text forwarded, this function will be skipped.
#
#Retrieved system information is below:
Computer Name:              WIN-C9O9ADBOR3J
Current User Name:          Not retrieved
Current User Home Directory:file:///C:/Users/tinderbox/Documents
Current Config Directory:   file:///C:/Users/tinderbox/AppData/Roaming
Current UserID:             S-1-5-32
Current User is:            NOT Administrator.
#
#Initialization Done.
osl_Security::ctors::ctors_001 finished in: 0ms
osl_Security::UserProfile::loadUserProfile finished in: 0ms
osl_Security::UserProfile::unloadUserProfile finished in: 0ms
osl_Security::getHandle::getHandle_001 finished in: 0ms
osl_Security::loginUserOnFileServer::loginUserOnFileServer_001 finished in: 0ms
osl_Security::getConfigDir::getConfigDir_001 finished in: 0ms
D:/lode/dev/core/sal/qa/osl/security/osl_Security.cxx:140:osl_Security::getUserIdent::getUserIdent_001
equality assertion failed
- Expected: S-1-5-32
- Actual  : S-1-5-21-1229160017-2594236661-850615137-1001
- strUserID: S-1-5-32, strID: S-1-5-21-1229160017-2594236661-850615137-1001, bRes: true

osl_Security::getUserIdent::getUserIdent_001 finished in: 0ms
D:/lode/dev/core/sal/qa/osl/security/osl_Security.cxx:173:osl_Security::getUserName::getUserName_001
assertion failed
- Expression: ( nPos >= 0 )
- #test comment#: get UserName and compare it with names got at the beginning of the test.

osl_Security::getUserName::getUserName_001 finished in: 0ms
osl_Security::isAdministrator::isAdministrator_001 finished in: 0ms
D:/lode/dev/core/sal/qa/osl/security/osl_Security.cxx(140) : error : Assertion
Test name: osl_Security::getUserIdent::getUserIdent_001
equality assertion failed
- Expected: S-1-5-32
- Actual  : S-1-5-21-1229160017-2594236661-850615137-1001
- strUserID: S-1-5-32, strID: S-1-5-21-1229160017-2594236661-850615137-1001, bRes: true

D:/lode/dev/core/sal/qa/osl/security/osl_Security.cxx(173) : error : Assertion
Test name: osl_Security::getUserName::getUserName_001
assertion failed
- Expression: ( nPos >= 0 )
- #test comment#: get UserName and compare it with names got at the beginning of the test.

Failures !!!
Run: 9   Failure total: 2   Failures: 2   Errors: 0


Stephan pointed me at sal/qa/osl/security/osl_Security.cxx, where
somehow code from sal/osl/w32/security.cxx is cloned.

System is a Server 2008 R2, and there's a ton of unicode-related
changes in the code - does the above ring any immediate bell for you?

Cheers,

-- Thorsten

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.