summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-11-29 13:52:12 +0100
committerMichael Schroeder <mls@suse.de>2012-11-29 13:52:12 +0100
commit5382a9451f5954c50e49d39fb843bf9eae447ba5 (patch)
tree9ad9a6297104dbfc59a6caa4246fbe2edb252f6f
parentf20dc417de9226c0084b2f108b65642cb4406aed (diff)
downloadlibsolv-5382a9451f5954c50e49d39fb843bf9eae447ba5.tar.gz
libsolv-5382a9451f5954c50e49d39fb843bf9eae447ba5.tar.bz2
libsolv-5382a9451f5954c50e49d39fb843bf9eae447ba5.zip
add SOLVER_FLAG_NO_AUTOTARGET to testcase code
-rw-r--r--ext/testcase.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/testcase.c b/ext/testcase.c
index da9734c..7464669 100644
--- a/ext/testcase.c
+++ b/ext/testcase.c
@@ -93,6 +93,7 @@ static struct solverflags2str {
{ SOLVER_FLAG_NO_INFARCHCHECK, "noinfarchcheck", 0 },
{ SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES, "keepexplicitobsoletes", 0 },
{ SOLVER_FLAG_BEST_OBEY_POLICY, "bestobeypolicy", 0 },
+ { SOLVER_FLAG_NO_AUTOTARGET, "noautotarget", 0 },
{ 0, 0, 0 }
};
@@ -115,8 +116,8 @@ static struct disttype2str {
Id type;
const char *str;
} disttype2str[] = {
- { DISTTYPE_RPM, "rpm" },
- { DISTTYPE_DEB, "deb" },
+ { DISTTYPE_RPM, "rpm" },
+ { DISTTYPE_DEB, "deb" },
{ DISTTYPE_ARCH, "arch" },
{ 0, 0 },
};