fixed swarm test

This commit is contained in:
Arvid Norberg 2007-06-09 00:48:12 +00:00
parent daba3196c3
commit 2419ba83da
1 changed files with 4 additions and 3 deletions

View File

@ -114,9 +114,10 @@ int test_main()
using namespace libtorrent;
using namespace boost::filesystem;
remove_all("./tmp1");
remove_all("./tmp2");
remove_all("./tmp3");
// in case the previous run was terminated
try { remove_all("./tmp1"); } catch (std::exception&) {}
try { remove_all("./tmp2"); } catch (std::exception&) {}
try { remove_all("./tmp3"); } catch (std::exception&) {}
test_swarm();