From 1c5e782caa9393406d4808b8d51ff91f66d21669 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 26 Jun 2015 16:40:29 +0200 Subject: [PATCH] test: qemu: Make sure that wr_highest_offset_valid gets set properly Remove one instance of the field being present so that the code that sets that flag can be tested. --- tests/qemumonitorjsontest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c index 96e6175d90..ded04234ff 100644 --- a/tests/qemumonitorjsontest.c +++ b/tests/qemumonitorjsontest.c @@ -1501,7 +1501,6 @@ testQemuMonitorJSONqemuMonitorJSONGetBlockStatsInfo(const void *data) " \"parent\": {" " \"stats\": {" " \"flush_total_time_ns\": 0," - " \"wr_highest_offset\": 0," " \"wr_total_time_ns\": 0," " \"wr_bytes\": 0," " \"rd_total_time_ns\": 0," @@ -1579,7 +1578,7 @@ testQemuMonitorJSONqemuMonitorJSONGetBlockStatsInfo(const void *data) CHECK("virtio-disk0", 1279, 28505088, 640616474, 174, 2845696, 530699221, 0, 0, 5256018944ULL, true) CHECK("virtio-disk1", 85, 348160, 8232156, 0, 0, 0, 0, 0, 0ULL, true) - CHECK("ide0-1-0", 16, 49250, 1004952, 0, 0, 0, 0, 0, 0ULL, true) + CHECK("ide0-1-0", 16, 49250, 1004952, 0, 0, 0, 0, 0, 0ULL, false) ret = 0; -- GitLab