block_tester: add 'sync' command to replay

issue #3636
This commit is contained in:
Sebastian Sumpf 2020-02-19 18:53:14 +01:00 committed by Norman Feske
parent 5225d12381
commit 2495a86aff
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ struct Test::Replay : Test_base
if (request.attribute_value("type", Type()) == "write")
return Block::Operation::Type::WRITE;
if (request.attribute_value("type", Type()) == "sync")
return Block::Operation::Type::SYNC;
error("operation type not defined: ", request);
throw 1;
};