Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11612 - /trunk/libzypp/tests/lib/TestSetup.h
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Thu, 06 Nov 2008 21:16:23 -0000
  • Message-id: <20081106211623.A000933947@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Thu Nov 6 22:16:23 2008
New Revision: 11612

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11612&view=rev
Log:
fix TestSetup logging

Modified:
trunk/libzypp/tests/lib/TestSetup.h

Modified: trunk/libzypp/tests/lib/TestSetup.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/tests/lib/TestSetup.h?rev=11612&r1=11611&r2=11612&view=diff
==============================================================================
--- trunk/libzypp/tests/lib/TestSetup.h (original)
+++ trunk/libzypp/tests/lib/TestSetup.h Thu Nov 6 22:16:23 2008
@@ -57,7 +57,7 @@
{ _ctor( rootdir_r, sysarch_r ); }

~TestSetup()
- { USR << "DELETE TESTSETUP below " << _rootdir << endl; }
+ { USR << (_tmprootdir.path() == _rootdir ? "DELETE" : "KEEP") << "
TESTSETUP below " << _rootdir << endl; }

public:
const Pathname & root() const { return _rootdir; }
@@ -142,8 +142,8 @@
USR << "Create from cache" << endl;
repoManager.loadFromCache( nrepo );
}
-
}
+
private:
void _ctor( const Pathname & rootdir_r, const Arch & sysarch_r )
{

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

< Previous Next >
This Thread
  • No further messages