From 8a2279b546d3c04830757f8ad11ab83cd66256fd Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 25 Jul 2013 06:04:31 +0000 Subject: [PATCH] fix test_checking for windows --- test/test_file_storage.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_file_storage.cpp b/test/test_file_storage.cpp index 1953d64bf..975e44d53 100644 --- a/test/test_file_storage.cpp +++ b/test/test_file_storage.cpp @@ -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);