Skip to content

Commit

Permalink
test_transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Jan 30, 2025
1 parent 6663e63 commit c24093d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/test_transfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,13 @@ TORRENT_TEST(move_storage_posix)
cleanup();
}

TORRENT_TEST(move_storage_pread)
{
using namespace lt;
test_transfer(0, settings_pack(), move_storage, storage_mode_sparse, pread_disk_io_constructor);
cleanup();
}

TORRENT_TEST(piece_deadline)
{
using namespace lt;
Expand All @@ -389,6 +396,16 @@ TORRENT_TEST(delete_files_posix)
cleanup();
}

TORRENT_TEST(delete_files_pread)
{
using namespace lt;
settings_pack p = settings_pack();
p.set_int(settings_pack::aio_threads, 10);
test_transfer(0, p, delete_files, storage_mode_sparse, pread_disk_io_constructor);
cleanup();
}


TORRENT_TEST(allow_fast)
{
using namespace lt;
Expand Down

0 comments on commit c24093d

Please sign in to comment.