aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_TEST.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-08-10 21:40:42 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-08-10 21:40:42 +0100
commitf6ca0cbe39e6312d71ed3fdd9692d088ce2cadd1 (patch)
tree2b492443f47cbb568858079fc9d018cb685568e0 /paludis/repositories/e/e_repository_TEST.cc
parent50eefb0b6b3cefe9b9c6ed1f90d355c6440a4802 (diff)
downloadpaludis-f6ca0cbe39e6312d71ed3fdd9692d088ce2cadd1.tar.gz
paludis-f6ca0cbe39e6312d71ed3fdd9692d088ce2cadd1.tar.xz
Tweak tests.
Diffstat (limited to 'paludis/repositories/e/e_repository_TEST.cc')
-rw-r--r--paludis/repositories/e/e_repository_TEST.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_repository_TEST.cc b/paludis/repositories/e/e_repository_TEST.cc
index f78d6c8cc..bce481261 100644
--- a/paludis/repositories/e/e_repository_TEST.cc
+++ b/paludis/repositories/e/e_repository_TEST.cc
@@ -1989,6 +1989,15 @@ namespace test_cases
}
{
+ TestMessageSuffix suffix("doman nofatal", true);
+ const std::tr1::shared_ptr<const PackageID> id(*env[selection::RequireExactlyOne(generator::Matches(
+ PackageDepSpec(parse_user_package_dep_spec("=cat/doman-nonfatal-0",
+ &env, UserPackageDepSpecOptions()))))]->last());
+ TEST_CHECK(id);
+ id->perform_action(action);
+ }
+
+ {
TestMessageSuffix suffix("doman failure", true);
const std::tr1::shared_ptr<const PackageID> id(*env[selection::RequireExactlyOne(generator::Matches(
PackageDepSpec(parse_user_package_dep_spec("=cat/doman-failure-0",