aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-03 20:13:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-03 20:13:52 +0000
commit313a72eed49fd610b077f96e523fa3cc8c415639 (patch)
tree3905c992c4c38774cf235f5c8c375b171d0f5a38
parent5cda754e130b1a54fbf4a50c77368cdb72f1ee3b (diff)
downloadpaludis-313a72eed49fd610b077f96e523fa3cc8c415639.tar.gz
paludis-313a72eed49fd610b077f96e523fa3cc8c415639.tar.xz
Add ( a a ) deps check
-rw-r--r--paludis/dep_list_TEST.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/paludis/dep_list_TEST.cc b/paludis/dep_list_TEST.cc
index f2dc47b..2907b7d 100644
--- a/paludis/dep_list_TEST.cc
+++ b/paludis/dep_list_TEST.cc
@@ -1102,6 +1102,27 @@ namespace test_cases
} test_dep_list_43;
/**
+ * \test Test DepList resolution behaviour.
+ *
+ * \ingroup Test
+ */
+ struct DepListTestCase44 : DepListTestCase<44>
+ {
+ void populate_repo()
+ {
+ repo->add_version("cat", "one", "1")->set(vmk_depend, "( cat/two cat/two )");
+ repo->add_version("cat", "two", "1");
+ }
+
+ void populate_expected()
+ {
+ merge_target="cat/one";
+ expected.push_back("cat/two-1:0::repo");
+ expected.push_back("cat/one-1:0::repo");
+ }
+ } test_dep_list_44;
+
+ /**
* \test Test DepList transactional add behaviour.
*
* \ingroup Test