From: Peter Krempa Date: Fri, 26 Jun 2015 14:40:29 +0000 (+0200) Subject: test: qemu: Make sure that wr_highest_offset_valid gets set properly X-Git-Tag: v1.2.17-rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c5e782caa9393406d4808b8d51ff91f66d21669;p=thirdparty%2Flibvirt.git 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. --- 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;