Browse Source

Merge branch '1351_libtestutils' into 1351_ethrpctest

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
5847ea8cfd
  1. 3
      libtestutils/ShortLivingDirectory.cpp

3
libtestutils/ShortLivingDirectory.cpp

@ -30,9 +30,8 @@ using namespace dev::test;
ShortLivingDirectory::ShortLivingDirectory(std::string const& _path) : m_path(_path)
{
// we never ever want to delete a directory (including all its contents) that we did not create ourselves.
if (boost::filesystem::exists(m_path)) {
if (boost::filesystem::exists(m_path))
BOOST_THROW_EXCEPTION(FileError());
}
boost::filesystem::create_directories(m_path);
}

Loading…
Cancel
Save