[Aptitude-svn-commit] r3962 - in branches/aptitude-0.3/aptitude: . tests

Daniel Burrows dburrows at costa.debian.org
Fri Aug 26 00:32:05 UTC 2005


Author: dburrows
Date: Fri Aug 26 00:32:03 2005
New Revision: 3962

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/tests/test_apt_universe.cc
Log:
Discard apt errors rather than spewing them to cerr.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Fri Aug 26 00:32:03 2005
@@ -2,6 +2,11 @@
 
 	* tests/test_apt_universe.cc:
 
+	  Discard apt errors rather than spewing them out (is this a good
+	  idea?).
+
+	* tests/test_apt_universe.cc:
+
 	  Add a tester to verify that only interesting dependencies are
 	  produced by the various dependency iterators.
 

Modified: branches/aptitude-0.3/aptitude/tests/test_apt_universe.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/tests/test_apt_universe.cc	(original)
+++ branches/aptitude-0.3/aptitude/tests/test_apt_universe.cc	Fri Aug 26 00:32:03 2005
@@ -43,12 +43,12 @@
     // TODO: load information from a custom location
     apt_preinit();
 
-    _error->DumpErrors();
+    _error->Discard();
 
     OpProgress p;
     apt_init(&p, false);
 
-    _error->DumpErrors();
+    _error->Discard();
   }
 
   void tearDown()



More information about the Aptitude-svn-commit mailing list