Commit 628daced19b8 ("allow ctime/mtime == 0") removed the asserts
checking for 0 (anyway only effective for debug builds), but left
the code for the timestamp removal unchanged.
Details
Details
- Reviewers
ngraham poboiko astippich - Group Reviewers
Baloo Frameworks - Commits
- R293:7842142c3288: Remove document from MTimeDB/DocumentTimeDB even when timestamp is 0
$> touch -d '@0' xxx.txt
$> balooshow 'mtime<1980-01-01'
-> xxx.txt shows up
$> touch xxx.txt
$> balooshow 'mtime<1980-01-01'
-> xxx.txt no longer shown
Diff Detail
Diff Detail
- Repository
- R293 Baloo
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Somewhere around this commit, the unittest started to fail.
QFATAL : WriteTransactionTest::testRemoveRecursively() ASSERT: "mtime > 0" in file /home/jenkins/workspace/Frameworks/baloo/kf5-qt5 SUSEQt5.10/src/engine/mtimedb.cpp, line 127
FAIL! : WriteTransactionTest::testRemoveRecursively() Received a fatal error.
Loc: [Unknown file(0)]
Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted, 73ms
Please investigate/fix.