summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-31 12:15:47 +0200
committerMichael Schroeder <mls@suse.de>2014-03-31 12:15:47 +0200
commit18cc20cdc9fb4bfacfd5528b621ebd4d6d1cb095 (patch)
tree4bb053c7ee9881b036d5dd780c019905b031dff0
parentd50ba044c8a10b9979998c2147a4f9973588a8ff (diff)
downloadlibsolv-18cc20cdc9fb4bfacfd5528b621ebd4d6d1cb095.tar.gz
libsolv-18cc20cdc9fb4bfacfd5528b621ebd4d6d1cb095.tar.bz2
libsolv-18cc20cdc9fb4bfacfd5528b621ebd4d6d1cb095.zip
support new dupallow flags in testcases (thanks Honza)
-rw-r--r--ext/testcase.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/testcase.c b/ext/testcase.c
index c8456e8..ea3b5ed 100644
--- a/ext/testcase.c
+++ b/ext/testcase.c
@@ -97,6 +97,10 @@ static struct solverflags2str {
{ SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES, "keepexplicitobsoletes", 0 },
{ SOLVER_FLAG_BEST_OBEY_POLICY, "bestobeypolicy", 0 },
{ SOLVER_FLAG_NO_AUTOTARGET, "noautotarget", 0 },
+ { SOLVER_FLAG_DUP_ALLOW_DOWNGRADE, "dupallowdowngrade", 1 },
+ { SOLVER_FLAG_DUP_ALLOW_ARCHCHANGE, "dupallowarchchange", 1 },
+ { SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE, "dupallowvendorchange", 1 },
+ { SOLVER_FLAG_DUP_ALLOW_NAMECHANGE, "dupallownamechange", 1 },
{ 0, 0, 0 }
};