[zypp-commit] r9318 - /trunk/libzypp-testsuite/solver/src/deptestomatic.cc
Author: schubi2 Date: Mon Mar 31 16:15:44 2008 New Revision: 9318 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9318&view=rev Log: add update packages Modified: trunk/libzypp-testsuite/solver/src/deptestomatic.cc Modified: trunk/libzypp-testsuite/solver/src/deptestomatic.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-testsuite/solver/src/deptestomatic.cc?rev=9318&r1=9317&r2=9318&view=diff ============================================================================== --- trunk/libzypp-testsuite/solver/src/deptestomatic.cc (original) +++ trunk/libzypp-testsuite/solver/src/deptestomatic.cc Mon Mar 31 16:15:44 2008 @@ -764,7 +764,6 @@ bool verify = false; bool instorder = false; bool mediaorder = false; - bool distupgrade = false; if (!node->equals ("trial")) { ZYPP_THROW (Exception ("Node not 'trial' in parse_xml_trial()")); @@ -879,15 +878,19 @@ } else if (node->equals ("distupgrade")) { - distupgrade = true; - RESULT << "Doing distribution upgrade ..." << endl; UpgradeStatistics stats; resolver->doUpgrade(stats); print_pool( resolver, MARKER ); + + } else if (node->equals ("update")) { + + RESULT << "Doing update ..." << endl; + resolver->doUpdate(); + print_pool( resolver, MARKER ); } else if (node->equals ("instorder")) { -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
schubi2@svn.opensuse.org