From: Zac Medico Date: Fri, 26 Oct 2012 06:31:36 +0000 (-0700) Subject: Add test case for bug #439688. X-Git-Tag: v2.2.0_alpha142~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=287636c98ca6841601372d32fb7c66ffdad9eaae;p=portage.git Add test case for bug #439688. --- diff --git a/pym/portage/tests/resolver/test_slot_conflict_rebuild.py b/pym/portage/tests/resolver/test_slot_conflict_rebuild.py new file mode 100644 index 000000000..e255e2a53 --- /dev/null +++ b/pym/portage/tests/resolver/test_slot_conflict_rebuild.py @@ -0,0 +1,80 @@ +# Copyright 2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +from portage.tests import TestCase +from portage.tests.resolver.ResolverPlayground import (ResolverPlayground, + ResolverPlaygroundTestCase) + +class SlotConflictRebuildTestCase(TestCase): + + def testSlotConflictRebuild(self): + + ebuilds = { + + "app-misc/A-1" : { + "EAPI": "5", + "SLOT": "0/1" + }, + + "app-misc/A-2" : { + "EAPI": "5", + "SLOT": "0/2" + }, + + "app-misc/B-0" : { + "EAPI": "5", + "DEPEND": "app-misc/A:=", + "RDEPEND": "app-misc/A:=" + }, + + "app-misc/C-0" : { + "EAPI": "5", + "DEPEND": "