[unit-tests] copier and mem_pool tests.

More to come
This commit is contained in:
Joe Thornber
2016-05-07 11:47:40 +01:00
parent 4f54245600
commit 73a69abfd2
7 changed files with 228 additions and 8 deletions

View File

@@ -37,6 +37,7 @@ copier::issue(copy_op const &op)
job.op.read_complete = job.op.write_complete = false;
unsigned key = genkey(); // used as context for the io_engine
cerr << "data = " << &(*data) << "\n";
engine_.issue_io(src_handle_,
io_engine::READ,
to_sector(op.src_b),