From 78811731faec4ad6c5f042e070cae11731a00d84 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 4 Jan 2011 17:26:22 -0800 Subject: REQUIRED_USE: test unsatisfied without USE dep --- pym/portage/tests/resolver/test_autounmask.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pym/portage/tests/resolver/test_autounmask.py b/pym/portage/tests/resolver/test_autounmask.py index e58a64375..9e50be7ed 100644 --- a/pym/portage/tests/resolver/test_autounmask.py +++ b/pym/portage/tests/resolver/test_autounmask.py @@ -47,6 +47,7 @@ class AutounmaskTestCase(TestCase): "app-portage/A-2": { "DEPEND": "app-portage/B[foo=]", "IUSE": "+foo", "REQUIRED_USE": "foo", "EAPI": "4" }, "app-portage/B-1": { "IUSE": "foo +bar", "REQUIRED_USE": "^^ ( foo bar )", "EAPI": "4" }, + "app-portage/C-1": { "IUSE": "+foo +bar", "REQUIRED_USE": "^^ ( foo bar )", "EAPI": "4" }, } test_cases = ( @@ -179,6 +180,11 @@ class AutounmaskTestCase(TestCase): options = { "--autounmask": True }, use_changes = None, success = False), + ResolverPlaygroundTestCase( + ["=app-portage/C-1"], + options = { "--autounmask": True }, + use_changes = None, + success = False), ) playground = ResolverPlayground(ebuilds=ebuilds) -- cgit v1.2.3-1-g7c22