[yast-commit] r59991 - /trunk/storage/storage/src/testsuite/tests/proposal1.ycp
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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org