[Aptitude-devel] r3234 - in branches/aptitude-0.3/aptitude: . src/generic

Daniel Burrows dburrows@costa.debian.org
Sun, 01 May 2005 15:44:52 +0000


Author: dburrows
Date: Sun May  1 15:44:49 2005
New Revision: 3234

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/generic/aptcache.cc
Log:
More format fixes in the dumper.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sun May  1 15:44:49 2005
@@ -1,5 +1,9 @@
 2005-05-01  Daniel Burrows  <dburrows@debian.org>
 
+	* src/generic/aptcache.cc:
+
+	  Fix the dumper to conform to the test input format.
+
 	* src/generic/problemresolver/test.cc:
 
 	  Remove a now-unnecessary try/catch pair, reindent a lot of stuff

Modified: branches/aptitude-0.3/aptitude/src/generic/aptcache.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/aptcache.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/generic/aptcache.cc	Sun May  1 15:44:49 2005
@@ -1533,7 +1533,7 @@
 
   resolver->dump_scores(out);
 
-  out << "( " << aptcfg->FindI(PACKAGE "::Resolver::StepLimit") << " ANY )" << endl;
+  out << "EXPECT ( " << aptcfg->FindI(PACKAGE "::Resolver::StepLimit", 100) << " ANY )" << endl;
 }
 
 //////////////////// END PROBLEM RESOLVER INTERFACE ////////////////////