[patch] KLockFile -- try harder

David Faure faure at kde.org
Fri Feb 20 00:35:31 GMT 2009


On Thursday 29 January 2009, Nick Shaforostoff wrote:
> > i think you forgot to add the autotests. :D
> Attached. All tests are passing.

Hmm, not here. klockfiletest fails everytime:
./klockfiletest.shell
********* Start testing of Test_KLockFile *********
Config: Using QTest library 4.5.0-rc1, Qt 4.5.0-rc1
PASS   : Test_KLockFile::initTestCase()
PASS   : Test_KLockFile::testLock()
PASS   : Test_KLockFile::testStale()
PASS   : Test_KLockFile::testUnlock()
FAIL!  : Test_KLockFile::testStaleNoBlockFlag() Compared values are not the same
   Actual (lockFile->lock(KLockFile::NoBlockFlag)): LockFail
   Expected (KLockFile::LockStale): LockStale
   Loc: [/d/kde/src/t/kdelibs/kdecore/tests/klockfiletest.cpp(115)]
PASS   : Test_KLockFile::cleanupTestCase()
Totals: 5 passed, 1 failed, 0 skipped
********* Finished testing of Test_KLockFile *********

Can you have a look? (or tell me what to debug, if it still works for you?)
Thanks.

-- 
David Faure, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list