aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/resolver_TEST_purges.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-28 16:31:21 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-28 16:31:21 +0100
commit36d7d6aefbe96e95d9e401e3ab048f485f1c05a6 (patch)
treef764321aaaa4a7685a5c884e535324e032ed8e80 /paludis/resolver/resolver_TEST_purges.cc
parent5df175e45592582da42d95ff8f767405e72e00e8 (diff)
downloadpaludis-36d7d6aefbe96e95d9e401e3ab048f485f1c05a6.tar.gz
paludis-36d7d6aefbe96e95d9e401e3ab048f485f1c05a6.tar.xz
Handle special purge behaviours
Fixes: ticket:893
Diffstat (limited to 'paludis/resolver/resolver_TEST_purges.cc')
-rw-r--r--paludis/resolver/resolver_TEST_purges.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/resolver/resolver_TEST_purges.cc b/paludis/resolver/resolver_TEST_purges.cc
index d7d92c3c7..1cc490951 100644
--- a/paludis/resolver/resolver_TEST_purges.cc
+++ b/paludis/resolver/resolver_TEST_purges.cc
@@ -82,8 +82,10 @@ namespace test_cases
TestPurges() :
ResolverPurgesTestCase("purges")
{
- install("purges", "target", "0")->build_dependencies_key()->set_from_string("purges/still-used-dep purges/old-dep purges/unrelated-dep");
+ install("purges", "target", "0")->build_dependencies_key()->set_from_string(
+ "purges/still-used-dep purges/old-dep purges/old-dep-locked purges/unrelated-dep");
install("purges", "old-dep", "0");
+ install("purges", "old-dep-locked", "0")->behaviours_set()->insert("used");
install("purges", "still-used-dep", "0");
install("purges", "unrelated-dep", "0");
install("purges", "unrelated", "0")->build_dependencies_key()->set_from_string("purges/unrelated-dep");