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@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org