Mailinglist Archive: yast-commit (553 mails)

< Previous Next >
[yast-commit] r59991 - /trunk/storage/storage/src/testsuite/tests/proposal1.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Mon, 07 Dec 2009 17:51:26 -0000
  • Message-id: <E1NHhk6-0004ca-Oz@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Mon Dec 7 18:51:26 2009
New Revision: 59991

URL: http://svn.opensuse.org/viewcvs/yast?rev=59991&view=rev
Log:
- set some ProductFeatures for proposal

Modified:
trunk/storage/storage/src/testsuite/tests/proposal1.ycp

Modified: trunk/storage/storage/src/testsuite/tests/proposal1.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/tests/proposal1.ycp?rev=59991&r1=59990&r2=59991&view=diff
==============================================================================
--- trunk/storage/storage/src/testsuite/tests/proposal1.ycp (original)
+++ trunk/storage/storage/src/testsuite/tests/proposal1.ycp Mon Dec 7 18:51:26
2009
@@ -34,9 +34,15 @@

import "Storage";
import "StorageProposal";
+ import "ProductFeatures";

- map<string, map> target_map = Storage::GetTargetMap();
+ ProductFeatures::SetBooleanFeature("partitioning", "try_separate_home",
true);
+ ProductFeatures::SetBooleanFeature("partitioning", "proposal_lvm", false);
+ ProductFeatures::SetStringFeature("partitioning", "root_base_size", "25
GB");
+
+ StorageProposal::GetControlCfg();

+ map<string, map> target_map = Storage::GetTargetMap();
map<string, any> prop = StorageProposal::get_inst_prop(target_map);

if (prop["ok"]:false)
@@ -48,7 +54,7 @@
DUMP("Proposal:");
foreach(map info, infos, {
string text = info[`text]:"";
- if (info["destructive"]:false)
+ if (info[`destructive]:false)
text = text + " [destructive]";
DUMP(text);
});

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages