projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde6df6
)
test_move_slot_ent: workaround for 1s timestamps
author
Zac Medico
<zmedico@gentoo.org>
Sat, 14 Jul 2012 01:40:20 +0000
(18:40 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 14 Jul 2012 01:40:20 +0000
(18:40 -0700)
pym/portage/tests/update/test_move_slot_ent.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/update/test_move_slot_ent.py
b/pym/portage/tests/update/test_move_slot_ent.py
index 64475bcd5d2443eab7c9b235f9ee53abf0fb36b0..930aa773353d9dafb0ebe84d4a34d7973c47ee56 100644
(file)
--- a/
pym/portage/tests/update/test_move_slot_ent.py
+++ b/
pym/portage/tests/update/test_move_slot_ent.py
@@
-119,6
+119,11
@@
class MoveSlotEntTestCase(TestCase):
finally:
portage.util.noiselimit = global_noiselimit
+ # Workaround for cache validation not working
+ # correctly when filesystem has timestamp precision
+ # of 1 second.
+ vardb._clear_cache()
+
# 0/2.30 -> 2/2.30
self.assertEqual("2/2.30",
vardb.aux_get("dev-libs/A-1", ["SLOT"])[0])