diff --git a/test/test_web_seed.cpp b/test/test_web_seed.cpp index ed1ccee18..254fbfa3c 100644 --- a/test/test_web_seed.cpp +++ b/test/test_web_seed.cpp @@ -106,7 +106,7 @@ void test_transfer(boost::intrusive_ptr torrent_file cs = ses.get_cache_status(); if (cs.blocks_read < 1) cs.blocks_read = 1; if (cs.blocks_written < 1) cs.blocks_written = 1; - +/* std::cerr << (s.progress * 100.f) << " %" << " torrent rate: " << (s.download_rate / 1000.f) << " kB/s" << " session rate: " << (ss.download_rate / 1000.f) << " kB/s" @@ -117,7 +117,7 @@ void test_transfer(boost::intrusive_ptr torrent_file << " rcache: " << cs.read_cache_size << " buffers: " << cs.total_used_buffers << std::endl; - +*/ print_alerts(ses, " >> ses"); if (s.is_seeding /* && ss.download_rate == 0.f*/) @@ -261,9 +261,9 @@ int run_suite(char const* protocol, bool test_url_seed, bool chunked_encoding) sha1_hash h1 = torrent_file->file_at(i).filehash; sha1_hash h2 = file_hash(combine_path("./tmp1_web_seed" , torrent_file->file_at(i).path)); - fprintf(stderr, "%s: %s == %s\n" - , torrent_file->file_at(i).path.c_str() - , to_hex(h1.to_string()).c_str(), to_hex(h2.to_string()).c_str()); +// fprintf(stderr, "%s: %s == %s\n" +// , torrent_file->file_at(i).path.c_str() +// , to_hex(h1.to_string()).c_str(), to_hex(h2.to_string()).c_str()); TEST_EQUAL(h1, h2); }