Boost logo

Boost-Commit :

From: mconsoni_at_[hidden]
Date: 2007-06-15 21:27:29


Author: mconsoni
Date: 2007-06-15 21:27:29 EDT (Fri, 15 Jun 2007)
New Revision: 7072
URL: http://svn.boost.org/trac/boost/changeset/7072

Log:
- By suggestion of Janek, I moved the remove before calling the basic function. It's still working on Linux at least.

Text files modified:
   sandbox/libs/extension/test/lib_caching_test.cpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: sandbox/libs/extension/test/lib_caching_test.cpp
==============================================================================
--- sandbox/libs/extension/test/lib_caching_test.cpp (original)
+++ sandbox/libs/extension/test/lib_caching_test.cpp 2007-06-15 21:27:29 EDT (Fri, 15 Jun 2007)
@@ -137,13 +137,15 @@
 
                   ++current_word;
 
+ boost::filesystem::remove(BOOST_EXTENSION_LIBS_DIRECTORY "libHelloWorldCache.extension");
+
                   std::auto_ptr<word> world_word_ptr(current_word->create());
                   BOOST_CHECK_EQUAL( !world_word_ptr.get(), 0 );
 
                   BOOST_CHECK_EQUAL( world_word_ptr->get_val(), "world! v2");
                   std::cerr << world_word_ptr->get_val() << " " << std::endl;
 
- boost::filesystem::remove(BOOST_EXTENSION_LIBS_DIRECTORY "libHelloWorldCache.extension");
+
           }
           l.close();
   }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk