From a7c408e41e0a9d159884a64ff21deb82c46f4fe5 Mon Sep 17 00:00:00 2001 From: Sebastian Sumpf Date: Wed, 19 Feb 2020 18:53:14 +0100 Subject: [PATCH] block_tester: add 'sync' command to replay issue #3636 --- repos/os/src/app/block_tester/test_replay.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repos/os/src/app/block_tester/test_replay.h b/repos/os/src/app/block_tester/test_replay.h index a6ea71ad4..e3299f165 100644 --- a/repos/os/src/app/block_tester/test_replay.h +++ b/repos/os/src/app/block_tester/test_replay.h @@ -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; };