fix test_checking for windows

This commit is contained in:
Arvid Norberg 2013-07-25 06:04:31 +00:00
parent b759982cf6
commit 8a2279b546
1 changed files with 4 additions and 4 deletions

View File

@ -39,10 +39,10 @@ using namespace libtorrent;
void setup_test_storage(file_storage& st)
{
st.add_file("test/a", 10000);
st.add_file("test/b", 20000);
st.add_file("test/c/a", 30000);
st.add_file("test/c/b", 40000);
st.add_file(combine_path("test", "a"), 10000);
st.add_file(combine_path("test", "b", 20000);
st.add_file(combine_path("test", combine_path("c", "a"), 30000);
st.add_file(combine_path("test", combine_path("c", "b"), 40000);
st.set_piece_length(0x4000);
st.set_num_pieces((st.total_size() + st.piece_length() - 1) / 0x4000);